-
Notifications
You must be signed in to change notification settings - Fork 7
30 lines (30 loc) · 873 Bytes
/
java-ci.yml
File metadata and controls
30 lines (30 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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/action-surefire-report@v1.8.0