Skip to content

Commit 348df6e

Browse files
committed
GHA - cleanup test containers test runs
cannot set bytebuddy here but need to figure that out.
1 parent bb52174 commit 348df6e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ jobs:
2323
cache: ${{ matrix.cache }}
2424
distribution: ${{ matrix.distribution }}
2525
java-version: ${{ matrix.java }}
26-
- name: Setup skip tests that require illegal reflective access ubuntu
27-
if: ${{ matrix.os == 'ubuntu-latest' }}
28-
run: echo 'ARG_LINE=-D"excludedGroups=RequireIllegalAccess" -Xmx2048m -javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar' >> $GITHUB_ENV
29-
- name: Setup skip tests that require illegal reflective access not ubuntu
30-
if: ${{ matrix.os != 'ubuntu-latest' }}
31-
run: echo 'ARG_LINE=-D"excludedGroups=TestcontainersTests,RequireIllegalAccess" -Xmx2048m -javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar' >> $GITHUB_ENV
26+
- name: Allow tests for TestcontainersTests
27+
run: echo 'ARG_LINE=-D"excludedGroups=RequireIllegalAccess"' >> $GITHUB_ENV
3228
- name: Test with Maven
3329
run: ./mvnw test -B -V --no-transfer-progress -D"license.skip=true" -D"jacoco.skip=true" $ARG_LINE

0 commit comments

Comments
 (0)