Triggering execution of Java tests #299
Workflow file for this run
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
name: Java CI | |
run-name: Triggering execution of Java tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, edited, reopened, synchronize, ready_for_review] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
contents: write | |
issues: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Build and install / test NSTSuite with Maven | |
run: mvn -U -e clean install -Dgpg.skip=true | |
- name: Build and test NSTTutorials project with Maven | |
run: mvn -U -f NSTTutorials/pom.xml clean test -Dgpg.skip=true | |
- name: Publish Test Report | |
if: ${{ always() }} | |
uses: scacap/[email protected] |