From 29f4832b3117c3ddcbb5d3b413a22314b6ce231c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 07:28:22 +0000 Subject: [PATCH 1/2] Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index cf5138672..602b773db 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -81,7 +81,7 @@ jobs: - name: Upload coverage to Codecov if: ${{ matrix.step == 'unit' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: false token: ${{ secrets.CODECOV_TOKEN }} @@ -213,7 +213,7 @@ jobs: path: | **/cwltool_conf*.xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: false token: ${{ secrets.CODECOV_TOKEN }} @@ -297,7 +297,7 @@ jobs: - name: Test with tox run: tox - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: false token: ${{ secrets.CODECOV_TOKEN }} From a6bc58841a7e3e92f27d6eeaf62bde1baf7938cb Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Thu, 1 Feb 2024 15:14:16 +0100 Subject: [PATCH 2/2] Fix codecov v4 configuration --- .github/workflows/ci-tests.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 602b773db..ae295e534 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -83,8 +83,9 @@ jobs: if: ${{ matrix.step == 'unit' }} uses: codecov/codecov-action@v4 with: - fail_ci_if_error: false - token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} tox-style: name: Linters @@ -215,8 +216,9 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: - fail_ci_if_error: false - token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} release_test: name: cwltool release test runs-on: ubuntu-22.04 @@ -299,5 +301,6 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: - fail_ci_if_error: false - token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}