From c996315e38bd4d6cddd84327bb71b7a3cd9f2a7c Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 29 Feb 2024 10:27:12 +0100 Subject: [PATCH] ci: also fix coverage upload for component tests (#3147) Signed-off-by: Moritz Wiesinger --- .github/workflows/CI.yaml | 2 ++ .github/workflows/component-test.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 132e0fd6c9..871368c48c 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -194,6 +194,8 @@ jobs: name: Component Tests needs: prepare_ci_run uses: ./.github/workflows/component-test.yml + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} integration_tests: name: Integration Tests diff --git a/.github/workflows/component-test.yml b/.github/workflows/component-test.yml index 8486c84008..2827d8acad 100644 --- a/.github/workflows/component-test.yml +++ b/.github/workflows/component-test.yml @@ -1,6 +1,9 @@ name: Component Tests on: workflow_call: + secrets: + CODECOV_TOKEN: + required: false env: GO_VERSION: "~1.20" defaults: