1616 runs-on : ${{ matrix.platform }}
1717
1818 steps :
19-
2019 - name : Set up JDK for build and test
2120 uses : actions/setup-java@v2
2221 with :
@@ -26,25 +25,13 @@ jobs:
2625 - name : Checkout security
2726 uses : actions/checkout@v2
2827
29- - name : Cache Gradle packages
30- uses : actions/cache@v2
31- with :
32- path : |
33- ~/.gradle/caches
34- ~/.gradle/wrapper
35- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
36- restore-keys : |
37- ${{ runner.os }}-gradle-
38-
39- - name : Package
40- uses : gradle/gradle-build-action@v2
41- with :
42- arguments : clean build -Dbuild.snapshot=false -x test -x integrationTest
43-
44- - name : Test
28+ - name : Clean Build and Test
4529 uses : gradle/gradle-build-action@v2
4630 with :
47- arguments : test integrationTest
31+ arguments : clean build -Dbuild.snapshot=false
32+ arguments : -x spotlessCheck # Don't check for style issues, enforced in Code Hygiene workflow
33+ arguments : -x checkstyleMain # Don't check for style issues, enforced in Code Hygiene workflow
34+ arguments : -x checkstyleTest # Don't check for style issues, enforced in Code Hygiene workflow
4835
4936 - name : Coverage
5037 uses : codecov/codecov-action@v1
6350 if : always()
6451 run : echo "Check the artifact ${{ matrix.platform }}-JDK${{ matrix.jdk }}-reports for detailed test results"
6552
53+ integration-tests :
54+ name : build
55+ strategy :
56+ fail-fast : false
57+ matrix :
58+ jdk : [17]
59+ platform : ["ubuntu-latest", "windows-latest", "macos-latest"]
60+ runs-on : ${{ matrix.platform }}
61+
62+ steps :
63+ - name : Set up JDK for build and test
64+ uses : actions/setup-java@v2
65+ with :
66+ distribution : temurin # Temurin is a distribution of adoptium
67+ java-version : ${{ matrix.jdk }}
68+
69+ - name : Checkout security
70+ uses : actions/checkout@v2
71+
72+ - name : Clean build and Test
73+ uses : gradle/gradle-build-action@v2
74+ with :
75+ arguments : clean integrationTest -Dbuild.snapshot=false
76+ arguments : -x spotlessCheck # Don't check for style issues, enforced in Code Hygiene workflow
77+ arguments : -x checkstyleMain # Don't check for style issues, enforced in Code Hygiene workflow
78+ arguments : -x checkstyleTest # Don't check for style issues, enforced in Code Hygiene workflow
79+
6680 backward-compatibility :
6781 runs-on : ubuntu-latest
6882 steps :
0 commit comments