Skip to content

Commit 5658f75

Browse files
committed
test java 17 compatability
1 parent a3d1cac commit 5658f75

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/unit-tests.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,21 @@ jobs:
3636
- name: Run tests
3737
run: |
3838
./gradlew clean build jacocoTestReport --stacktrace
39+
40+
gradle9-java17-test:
41+
name: Gradle 9 compatibility test (Java 17)
42+
runs-on: ubuntu-latest
43+
env:
44+
TERM: dumb
45+
steps:
46+
- uses: actions/checkout@v4
47+
- uses: actions/setup-java@v3
48+
with:
49+
distribution: 'adopt'
50+
java-version: 17
51+
- uses: gradle/gradle-build-action@v2
52+
with:
53+
gradle-version: 7.6.4
54+
- name: Run Gradle 9 compatibility test
55+
run: |
56+
gradle :jib-gradle-plugin:test --tests "*FilesTaskV2Test.testFilesTask_multiProjectComplexService_gradle9" -x jacocoTestReport --stacktrace

0 commit comments

Comments
 (0)