Skip to content

Commit 6e702d8

Browse files
chore(ci): run test on Java 21 and windows OS (#2159)
1 parent 8164fbf commit 6e702d8

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/ci_examples_java.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ on:
2626
jobs:
2727
testJava:
2828
strategy:
29+
fail-fast: false
2930
matrix:
30-
java-version: [8, 11, 17, 19]
31-
os: [macos-14]
31+
java-version: [8, 11, 17, 19, 21]
32+
os: [macos-14, windows-latest]
3233
runs-on: ${{ matrix.os }}
3334
permissions:
3435
id-token: write
@@ -41,6 +42,10 @@ jobs:
4142
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
4243
role-session-name: DDBEC-Dafny-Java-Tests
4344

45+
# Rust files have long names, so we need to enable long paths
46+
- name: Enable long paths
47+
run: git config --system core.longpaths true
48+
4449
- uses: actions/checkout@v6
4550
with:
4651
submodules: recursive

.github/workflows/ci_test_java.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
library: [DynamoDbEncryption]
32-
java-version: [8, 11, 17, 19]
33-
os: [macos-14]
32+
java-version: [8, 11, 17, 19, 21]
33+
os: [macos-14, windows-latest]
3434
runs-on: ${{ matrix.os }}
3535
permissions:
3636
id-token: write
@@ -43,6 +43,10 @@ jobs:
4343
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
4444
role-session-name: DDBEC-Dafny-Java-Tests
4545

46+
# Rust files have long names, so we need to enable long paths
47+
- name: Enable long paths
48+
run: git config --system core.longpaths true
49+
4650
- uses: actions/checkout@v6
4751
with:
4852
submodules: recursive

0 commit comments

Comments
 (0)