Skip to content

Commit b20b191

Browse files
art-tapinKevFan
andcommitted
codecov: Add CODECOV_TOKEN despite repo being public to make CI/CD stable (#175)
Read more at: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954 Co-authored-by: Kevin Fan <[email protected]>
1 parent 7105919 commit b20b191

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- name: Upload unit-test coverage reports to CodeCov # more at https://github.com/codecov/codecov-action
3939
uses: codecov/codecov-action@v3
4040
with:
41+
token: ${{ secrets.CODECOV_TOKEN }}
4142
flags: unit
4243
fail_ci_if_error: true
4344
verbose: true
@@ -84,6 +85,7 @@ jobs:
8485
- name: Upload integration-test coverage reports to CodeCov # more at https://github.com/codecov/codecov-action
8586
uses: codecov/codecov-action@v3
8687
with:
88+
token: ${{ secrets.CODECOV_TOKEN }}
8789
flags: integration
8890
fail_ci_if_error: true
8991
verbose: true

0 commit comments

Comments
 (0)