Skip to content

Commit 6ff46a3

Browse files
authored
Merge pull request #3891 from adamretter/feature/code-coverage
Specify the COVERALLS_TOKEN in the correct way for CI
2 parents 98562f0 + 5f88196 commit 6ff46a3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci-test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,5 @@ jobs:
2727
- name: Maven Test
2828
run: mvn -V -B clean verify
2929
- name: Maven Code Coverage
30-
if: ${{ matrix.jdk == '8' && matrix.os == 'ubuntu-latest' }}
31-
env:
32-
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
33-
run: |
34-
echo "ADAM COVERALLS_TOKEN='${COVERALLS_TOKEN}'"
35-
mvn -V -B jacoco:report coveralls:report
30+
if: ${{ github.ref == 'refs/heads/develop' && matrix.jdk == '8' && matrix.os == 'ubuntu-latest' }}
31+
run: mvn -V -B jacoco:report coveralls:report -DrepoToken=${{ secrets.COVERALLS_TOKEN }}

0 commit comments

Comments
 (0)