Skip to content

Commit f1b4dd3

Browse files
chore: improve ci stability
1 parent 372fff8 commit f1b4dd3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/unit-tests-jdk-14.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
./scripts/run_no_prep_tests.sh -ci
3030
env:
3131
SKIP_UNSTABLE_TESTS: 1
32+
MAVEN_OPTS: "-Xmx4g -Xms512m"
3233
- name: Upload coverage to Codecov
3334
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
3435
with:

.github/workflows/unit-tests-jdk-17.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
./scripts/run_no_prep_tests.sh -ci
3030
env:
3131
SKIP_UNSTABLE_TESTS: 1
32+
MAVEN_OPTS: "-Djacoco.skip=true -Xmx4g -Xms512m"

.github/workflows/unit-tests-jdk-8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
./scripts/run_no_prep_tests.sh -ci
3333
env:
3434
SKIP_UNSTABLE_TESTS: 1
35+
MAVEN_OPTS: "-Djacoco.skip=true -Xmx4g -Xms512m"

scripts/run_no_prep_tests.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ then
3131
-pl !bolt-http4k \
3232
-pl !bolt-micronaut \
3333
-pl !slack-jakarta-socket-mode-client \
34-
clean \
35-
test-compile \
36-
'-Dtest=test_locally.**.*Test' -Dsurefire.failIfNoSpecifiedTests=false test ${CI_OPTIONS} \
34+
clean test \
35+
'-Dtest=test_locally.**.*Test' -Dsurefire.failIfNoSpecifiedTests=false ${CI_OPTIONS} \
3736
-DfailIfNoTests=false \
3837
-Dhttps.protocols=TLSv1.2 \
3938
--no-transfer-progress && \
@@ -42,18 +41,16 @@ elif [[ "${is_jdk_14}" != "" ]];
4241
then
4342
./mvnw ${MAVEN_OPTS} \
4443
-pl !bolt-micronaut \
45-
clean \
46-
test-compile \
47-
'-Dtest=test_locally.**.*Test' -Dsurefire.failIfNoSpecifiedTests=false test ${CI_OPTIONS} \
44+
clean test \
45+
'-Dtest=test_locally.**.*Test' -Dsurefire.failIfNoSpecifiedTests=false ${CI_OPTIONS} \
4846
-DfailIfNoTests=false \
4947
-Dhttps.protocols=TLSv1.2 \
5048
--no-transfer-progress && \
5149
if git status --porcelain | grep .; then git --no-pager diff; exit 1; fi
5250
else
5351
./mvnw ${MAVEN_OPTS} \
54-
clean \
55-
test-compile \
56-
'-Dtest=test_locally.**.*Test' -Dsurefire.failIfNoSpecifiedTests=false test ${CI_OPTIONS} \
52+
clean test \
53+
'-Dtest=test_locally.**.*Test' -Dsurefire.failIfNoSpecifiedTests=false ${CI_OPTIONS} \
5754
-DfailIfNoTests=false \
5855
-Dhttps.protocols=TLSv1.2 \
5956
--no-transfer-progress && \

0 commit comments

Comments
 (0)