Skip to content

Commit

Permalink
CI: Fix codecov upload step with token
Browse files Browse the repository at this point in the history
Due to the upstream codecov issue
https://community.codecov.com/t/commit-sha-does-not-match-circle-build/4266
still being present and as we did not have a better idea and all other
workarounds failed we decided we should just go ahead and specify the
codecov upload token to fix report uploads.

Related progress issue: https://progress.opensuse.org/issues/128129
  • Loading branch information
okurz committed May 4, 2023
1 parent 700f500 commit 2af7549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:
- run: make coverage-report-codecov
- codecov/upload:
file: cover_db/codecov.json
xtra_args: -v -Z -C $CIRCLE_SHA1
xtra_args: -v -Z

build-docs: &docs-template
docker:
Expand Down
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
codecov:
token: 058d4462-cb3c-455d-bb6d-3e6859f3de9e
branch: master
comment:
behavior: default
Expand Down

0 comments on commit 2af7549

Please sign in to comment.