From bcb934ebccc6838e17bb2fc2448eab975c94de16 Mon Sep 17 00:00:00 2001 From: Anatolii Date: Fri, 19 Jun 2026 11:58:08 +0400 Subject: [PATCH] ci: pass CODECOV_TOKEN explicitly to codecov-action codecov-action@v4 was not picking up CODECOV_TOKEN from env automatically in this workflow (log shows 'no token was provided' even though the secret is configured in repo settings). Pass it explicitly via the token input to make uploads reliable. Also add: - files: ./coverage.xml - explicit report path - fail_ci_if_error: false - coverage upload failures shouldn't break the CI run --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 095e4eb..f6c8a96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,4 +45,8 @@ jobs: - run: pip install -e ".[dev]" - run: coverage run -m pytest - uses: codecov/codecov-action@v4 - if: always() \ No newline at end of file + if: always() + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage.xml + fail_ci_if_error: false \ No newline at end of file