Skip to content

Commit

Permalink
Bump codecov/codecov-action from 3 to 4 (#53)
Browse files Browse the repository at this point in the history
* 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](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Pass token when uploading coverage reports to codecov

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ringler, Moritz <moritz.ringler@zeiss.com>
  • Loading branch information
dependabot[bot] and m-ringler committed Feb 8, 2024
1 parent 3948ff2 commit 5ce03de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/czicompress_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,14 @@ jobs:
run: OpenCppCoverage.exe --export_type cobertura:${{github.workspace}}\TestResults\coverage.xml --sources "${{github.workspace}}\czicompress" --excluded_sources "${{github.workspace}}\czicompress\tests" --modules czicompress -- czicompress_tests.exe

- name: Upload Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: ${{ (matrix.config.os == 'windows-latest') && (matrix.build == 'Debug') }}
with:
files: coverage.xml
fail_ci_if_error: true
directory: ${{ github.workspace }}/TestResults
verbose: true
token: ${{ secrets.CODECOV_TOKEN }} # required

- name: Prepare licenses
if: matrix.build == 'Release'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/czishrink_dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,13 @@ jobs:
- name: Upload coverage reports for czishrink to Codecov
if: ${{ (matrix.config.os == 'ubuntu-latest') && (matrix.build == 'Debug') }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
directory: ${{ github.workspace }}/TestResults
files: coverage.cobertura.xml
verbose: true
token: ${{ secrets.CODECOV_TOKEN }} # required

- name: Upload dotnet test results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5ce03de

Please sign in to comment.