From 2af754957c56053241a07d05499808ecc236f811 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Thu, 4 May 2023 15:01:53 +0200 Subject: [PATCH] CI: Fix codecov upload step with token 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 --- .circleci/config.yml | 2 +- codecov.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50e3983e132..3400b185bc7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/codecov.yml b/codecov.yml index 7389bdb57e3..abf0edaf270 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,4 +1,5 @@ codecov: + token: 058d4462-cb3c-455d-bb6d-3e6859f3de9e branch: master comment: behavior: default