From 680e44b79266a05f233066e4de8944e64d08c86a Mon Sep 17 00:00:00 2001 From: Jillian Date: Thu, 16 May 2024 09:11:15 +0930 Subject: [PATCH] build: update codecov action version (#241) * build: update codecov action version * fix: run migrations check without xmlsec * fix: check coverage for python 3.12, not 3.8 Co-authored-by: Kyle McCormick --- .github/workflows/ci.yml | 5 +++-- .github/workflows/migrations-check.yml | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e06ddf3..3e5b5ee 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-drf314' - uses: codecov/codecov-action@v1 + if: matrix.python-version == '3.12' && matrix.toxenv=='django42-drf314' + uses: codecov/codecov-action@v4 with: flags: unittests fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/migrations-check.yml b/.github/workflows/migrations-check.yml index a834e2d..08b3255 100644 --- a/.github/workflows/migrations-check.yml +++ b/.github/workflows/migrations-check.yml @@ -55,8 +55,6 @@ jobs: pip install -r requirements/base.txt pip uninstall -y mysqlclient pip install --no-binary mysqlclient mysqlclient - pip uninstall -y xmlsec - pip install --no-binary xmlsec xmlsec - name: Initiate Services run: |