Skip to content

Commit 00ebfeb

Browse files
committed
[actions] Skip tests involving testcontainers on macOS and Windows
1 parent fc51a30 commit 00ebfeb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,9 @@ jobs:
4646
shell: bash
4747
if: ${{ matrix.java != '8' }}
4848
run: echo 'ARG_LINE="-DargLine=--illegal-access=permit"' >> $GITHUB_ENV
49+
- name: Set env command line option
50+
shell: bash
51+
if: ${{ matrix.os == 'ubuntu-latest' }}
52+
run: echo 'ENV_TRAVIS="-Denv.TRAVIS"' >> $GITHUB_ENV
4953
- name: Test with Maven
50-
run: ./mvnw test -B -D"env.TRAVIS" -D"license.skip=true" -D"jacoco.skip=true" $ARG_LINE
54+
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_TRAVIS $ARG_LINE

0 commit comments

Comments
 (0)