From 9801cbb210fab8c246e725b8cb7f8b04500b5ffe Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Tue, 21 May 2024 15:50:56 +0200 Subject: [PATCH] update codecov --- .github/workflows/cicd.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c2b72c3..b22a78f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -8,6 +8,8 @@ on: tags: - '*' pull_request: +env: + LATEST_PY_VERSION: '3.12' jobs: tests: @@ -35,10 +37,10 @@ jobs: run: tox -e py - name: Upload Results - if: success() - uses: codecov/codecov-action@v1 + if: ${{ matrix.python-version == env.LATEST_PY_VERSION }} + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests - name: ${{ matrix.platform }}-${{ matrix.tox-env }} + name: ${{ matrix.python-version }} fail_ci_if_error: false