Aya JavaScript Runtime #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the Maven 'test' phase whenever a pull request is opened | |
# See https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven | |
name: Run Maven tests | |
on: | |
pull_request: | |
branches: [ "master" ] | |
# Allows you to manually run the workflow (for testing) | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build and run tests | |
runs-on: ubuntu-latest | |
permissions: | |
# allows this workflow to create check runs (their passing/failure is shown on the PR) | |
checks: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Run test phase | |
run: mvn test --batch-mode |