Skip to content

Commit 9ed7d77

Browse files
committed
[circleci-issue] - codecov action
Signed-off-by: Ashish Patel <ashishpatel0720@gmail.com> Signed-off-by: ashish <ashishpatel0720@gmail.com>
1 parent a5f15bf commit 9ed7d77

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ jobs:
2222
- run: npm test
2323
- run: ./node_modules/.bin/nyc report --reporter=json
2424
- run: mv coverage/coverage-final.json coverage/coverage.json
25-
- run: ./node_modules/.bin/codecov
26-
25+
pytest --cov=./ --cov-report=xml
26+
- name: Upload coverage to Codecov
27+
uses: codecov/codecov-action@v1
28+
with:
29+
token: ${{ secrets.CODECOV_TOKEN }}
30+
file: coverage/coverage.json
31+
name: codecov
32+
fail_ci_if_error: true
2733
env:
2834
CI: true

0 commit comments

Comments
 (0)