From 8294eda398a9866d15560bff6f20edbdb253f817 Mon Sep 17 00:00:00 2001 From: Matteo Mortari Date: Thu, 27 Jun 2024 08:55:15 +0200 Subject: [PATCH] test: only update codecov action version --- .github/workflows/build.yml | 5 ++--- .github/workflows/python-tests.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 901d3489..17e3713d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,9 +51,8 @@ jobs: - name: Unit tests run: make test-cover - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4.0.1 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v4.5.0 with: files: coverage.txt fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 4dae9047..43fe960f 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -61,13 +61,12 @@ jobs: nox --python=${{ matrix.python }} fi - name: Upload coverage report - uses: codecov/codecov-action@v4.0.1 + uses: codecov/codecov-action@v4.5.0 if: always() && matrix.session == 'tests' - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: coverage.xml fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} - name: Upload documentation if: matrix.session == 'docs-build' uses: actions/upload-artifact@v4