From b36c4556bf07a161cae115bb6c382a3ed6aacd89 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 20 Aug 2025 16:47:44 +0200 Subject: [PATCH 1/2] test: try flag names with dashes --- .circleci/config.yml | 5 ++++- .github/workflows/ci.yml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fe5ae248..333b779e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,10 @@ jobs: name: Run tests and collect coverage command: pytest --cov app - codecov/upload - + - codecov/upload: + flags: testthree + - codecov/upload: + flags: test-four workflow: version: 2.1 build-test: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15abf468..d584e476 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,3 +40,17 @@ jobs: fail_ci_if_error: true use_oidc: true verbose: true + - name: Upload coverage to Codecov (oidc) + uses: codecov/codecov-action@main + with: + fail_ci_if_error: true + use_oidc: true + flags: testone + verbose: true + - name: Upload coverage to Codecov (oidc) + uses: codecov/codecov-action@main + with: + fail_ci_if_error: true + use_oidc: true + flags: test-two + verbose: true From 57e85350090b8b99d3f3dc566e3d8ac69f8fda56 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 20 Aug 2025 17:01:37 +0200 Subject: [PATCH 2/2] fix: use v5 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 333b779e..13271cce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 orbs: - codecov: codecov/codecov@4 + codecov: codecov/codecov@5 jobs: build: