Skip to content

Commit db433ae

Browse files
authored
.github/workflows: Pass COVERALLS_REPO_TOKEN to coveralls task (#9935)
The coveralls task has been silently failing since we migrated to GitHub Actions, away form Travis-CI: ``` no COVERALLS_REPO_TOKEN environmental variable found no available CI service > Task :grpc-all:coveralls BUILD SUCCESSFUL in 23s 7 actionable tasks: 1 executed, 6 up-to-date ``` We'd rather not deal with private tokens, but the Coveralls GitHub Action [only supports lcov][1] which makes it unhelpful for Java. Looking deeper, yep, we [aren't the only ones impacted][2]: [1]: https://github.com/marketplace/actions/coveralls-github-action [2]: coverallsapp/github-action#22
1 parent 85e656c commit db433ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/testing.yml

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565

6666
- name: Coveralls
6767
if: matrix.jre == 8 # Upload once, instead of for each job in the matrix
68+
env:
69+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
6870
run: ./gradlew :grpc-all:coveralls -PskipAndroid=true -x compileJava
6971
- name: Codecov
7072
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)