Skip to content

Commit bf2573e

Browse files
Replace deprecated codecov npm package with official Codecov uploader (#109)
* Initial plan * Replace deprecated codecov npm package with official Codecov uploader Co-authored-by: theRealPadster <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: theRealPadster <[email protected]>
1 parent c17e495 commit bf2573e

File tree

4 files changed

+9
-234
lines changed

4 files changed

+9
-234
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ jobs:
2121
run: npm ci
2222
- name: Run tests
2323
run: npm test
24+
- name: Upload coverage to Codecov
25+
uses: codecov/codecov-action@v4
26+
with:
27+
files: ./coverage/lcov.info
28+
fail_ci_if_error: false
29+
token: ${{ secrets.CODECOV_TOKEN }}

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ branches:
66
- master
77
script:
88
- npm run test
9-
- npm run report-coverage
9+
after_success:
10+
- bash <(curl -s https://codecov.io/bash)

package-lock.json

Lines changed: 0 additions & 230 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)