Skip to content

Commit

Permalink
Use CodeCov GitHub Action in CI instead of npx codecov
Browse files Browse the repository at this point in the history
The npx codecov script is deprecated, so use the GitHub action instead.
  • Loading branch information
cmoesel committed Oct 23, 2024
1 parent 5365bca commit 6082427
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
- run: date +"%Y-%m-%d %T"
- run: npm install
- run: ./bin/check_for_nonassertive_tests.sh
- run: npx nyc --reporter=lcov npm test && npx codecov
- run: npx nyc --reporter=lcov npm test
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 6082427

Please sign in to comment.