From 314ed57d8a6d7570ee734542ad10d5485a5e848c Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 9 Sep 2024 11:36:22 -0400 Subject: [PATCH] build: Add codecove token and publish codecove on 3.12 We should be publishing coverage from the latest version we test with. --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46f37992..5fc55d6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,9 @@ jobs: run: tox - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django42' - uses: codecov/codecov-action@v1 + if: matrix.python-version == '3.12' && matrix.toxenv=='django42' + uses: codecov/codecov-action@v4 with: flags: unittests fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}