Skip to content

Commit e1b4915

Browse files
authored
run extra tests that need Java 9+ (#1434)
1 parent 392a05c commit e1b4915

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/build-test-prValidation.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,43 @@ jobs:
9494
-Dsbt.log.noformat=false \
9595
-Dpekko.log.timestamps=true \
9696
validatePullRequest
97+
98+
jdk-21-extra-tests:
99+
name: Java 21 Extra Tests (including all tests that need Java 9+)
100+
runs-on: ubuntu-20.04
101+
env:
102+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
103+
steps:
104+
- name: Checkout
105+
uses: actions/checkout@v4
106+
with:
107+
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
108+
fetch-depth: 0
109+
fetch-tags: 0
110+
111+
- name: Setup Java 21
112+
uses: actions/setup-java@v4
113+
with:
114+
distribution: temurin
115+
java-version: 21
116+
117+
- name: Cache Coursier cache
118+
uses: coursier/cache-action@v6
119+
120+
- name: Enable jvm-opts
121+
run: cp .jvmopts-ci .jvmopts
122+
123+
- name: sbt TestJdk9/test
124+
run: |-
125+
sbt \
126+
-Dpekko.mima.enabled=false \
127+
-Dpekko.test.multi-in-test=false \
128+
-Dpekko.test.timefactor=2 \
129+
-Dpekko.actor.testkit.typed.timefactor=2 \
130+
-Dpekko.test.tags.exclude=gh-exclude,timing \
131+
-Dpekko.cluster.assert=on \
132+
-Dsbt.override.build.repos=false \
133+
-Dpekko.test.multi-node=false \
134+
-Dsbt.log.noformat=false \
135+
-Dpekko.log.timestamps=true \
136+
TestJdk9/test

0 commit comments

Comments
 (0)