Skip to content

Commit 096c699

Browse files
committed
[tests] Rename TRAVIS to GITHUB for slow tests usage
1 parent e9257ab commit 096c699

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
run: echo 'ARG_LINE=-D"excludedGroups=TestcontainersTests,RequireIllegalAccess"' >> $GITHUB_ENV
5656
- name: Set env command line option
5757
if: ${{ matrix.os == 'ubuntu-latest' }}
58-
run: echo 'ENV_TRAVIS="-Denv.TRAVIS"' >> $GITHUB_ENV
58+
run: echo 'ENV_GITHUB="-Denv.GITHUB"' >> $GITHUB_ENV
5959
- name: Test with Maven
6060
if: ${{ matrix.os != 'windows-latest' }}
61-
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_TRAVIS $ARG_LINE
61+
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_GITHUB $ARG_LINE
6262
- name: Test with Maven
6363
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '8')}}
6464
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true"

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,11 @@
397397

398398
<profiles>
399399
<profile>
400-
<!-- Run slow tests only on travis ci, to force run otherwise use -D"env.TRAVIS" -->
401-
<id>travis-ci</id>
400+
<!-- Run slow tests only on github ci, to force run otherwise use -D"env.GITHUB" -->
401+
<id>github-ci</id>
402402
<activation>
403403
<property>
404-
<name>env.TRAVIS</name>
404+
<name>env.GITHUB</name>
405405
</property>
406406
</activation>
407407
<properties>

0 commit comments

Comments
 (0)