File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # This name is shown in the status badge in the README
2+ name : integration-test
3+
4+ on :
5+ schedule :
6+ # Run once a week to check compatibility with new FIDO MDS blob contents
7+ - cron : ' 0 0 * * 1'
8+
9+ jobs :
10+ test :
11+ name : JDK ${{ matrix.java }} ${{ matrix.distribution }}
12+
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ java : [17]
17+ distribution : [temurin]
18+
19+ outputs :
20+ report-java : 17
21+ report-dist : temurin
22+
23+ steps :
24+ - name : Check out code
25+ uses : actions/checkout@v3
26+
27+ - name : Set up JDK ${{ matrix.java }}
28+ uses : actions/setup-java@v3
29+ with :
30+ java-version : ${{ matrix.java }}
31+ distribution : ${{ matrix.distribution }}
32+
33+ - name : Run tests and integration tests
34+ run : ./gradlew check
35+
36+ - name : Archive HTML test report
37+ if : ${{ always() }}
38+ uses : actions/upload-artifact@v3
39+ with :
40+ name : test-reports-java${{ matrix.java }}-${{ matrix.distribution }}-html
41+ path : " */build/reports/**"
42+
43+ - name : Archive JUnit test report
44+ if : ${{ always() }}
45+ uses : actions/upload-artifact@v3
46+ with :
47+ name : test-reports-java${{ matrix.java }}-${{ matrix.distribution }}-xml
48+ path : " */build/test-results/**/*.xml"
You can’t perform that action at this time.
0 commit comments