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 21, 2024
1 parent 522ca7d commit 5d0babb
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 5d0babb

Please sign in to comment.