Skip to content

Commit

Permalink
Migrate to CodeCov v4 (#60)
Browse files Browse the repository at this point in the history
# Migrate to CodeCov v4

## ♻️ Current situation & Problem
This PR migrates to the latest CodeCov action.

Note that v4 includes breaking changes. Every upload requires a token
now. However, current upload is broken anyways.


## ⚙️ Release Notes 
* Upgrade codecov action.


### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
Supereg authored Apr 9, 2024
1 parent 48e90de commit baa0879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-and-upload-coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
xcrun xcresulttool merge ${{ inputs.coveragereports }} --output-path CodeCoverage.xcresult
rm -rf ${{ inputs.coveragereports }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.1
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-test-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
- name: Run the tests
run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

0 comments on commit baa0879

Please sign in to comment.