From e35e7e07b39534ac3ed83085a87a970b633dcc70 Mon Sep 17 00:00:00 2001 From: Eivind Jahren Date: Mon, 5 Feb 2024 09:59:07 +0100 Subject: [PATCH] Update codecov uploader --- .github/workflows/build_and_test.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/doctest.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 5984efcf949..28cc5072c00 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -73,7 +73,7 @@ jobs: gcovr -r src/clib/ --gcov-ignore-parse-errors=negative_hits.warn --exclude-directories ".*tests" cmake-build/ --xml -o cov.xml - name: Upload c coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 if: matrix.os == 'ubuntu-latest' with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 276305f2b4e..affc222c708 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -49,7 +49,7 @@ jobs: pytest tests/unit_tests -n4 --cov=ert -m "not integration_test and not requires_window_manager" --cov-report=xml:cov.xml --dist loadgroup - name: Upload python coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 1eb072a621c..489ec0be81d 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -35,7 +35,7 @@ jobs: pytest --doctest-modules --cov=ert --cov-report=xml:cov.xml src/ --ignore src/ert/dark_storage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true