Skip to content

Commit ad0774e

Browse files
committed
Run bolt-micronaut test with JDK 17
1 parent dd3b0fa commit ad0774e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/run_no_prep_tests.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@ then
4747
--no-transfer-progress && \
4848
if git status --porcelain | grep .; then git --no-pager diff; exit 1; fi
4949
else
50+
# Until we resolve https://github.com/slackapi/java-slack-sdk/issues/892, most of the tests can fail with JDK 17+
51+
# That's why we install jar files locally and run only the tests that work with JDK 17+
52+
./mvnw ${MAVEN_OPTS} install \
53+
'-Dmaven.test.skip=true' \
54+
-pl !bolt-quarkus-examples \
55+
&& \
5056
./mvnw ${MAVEN_OPTS} \
51-
clean \
52-
test-compile \
57+
test -pl bolt-micronaut \
5358
'-Dtest=test_locally.**.*Test' -Dsurefire.failIfNoSpecifiedTests=false test ${CI_OPTIONS} \
5459
-DfailIfNoTests=false \
5560
-Dhttps.protocols=TLSv1.2 \

0 commit comments

Comments
 (0)