Skip to content

Commit bac7247

Browse files
committed
Switch coverage provider to codecov
1 parent 6568034 commit bac7247

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/node-ci.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,22 @@ jobs:
2424
run: npm install
2525
- name: Test ${{ matrix.os }} node ${{ matrix.node-version }}
2626
run: npm run coverage --if-present
27-
- name: Coveralls Parallel
28-
uses: coverallsapp/github-action@master
27+
# - name: Coveralls Parallel
28+
# uses: coverallsapp/github-action@master
29+
# with:
30+
# github-token: ${{ secrets.github_token }}
31+
# flag-name: Test ${{ matrix.os }} node ${{ matrix.node-version }}
32+
# parallel: true
33+
- name: Codecov
34+
uses: codecov/codecov-action@v1
2935
with:
30-
github-token: ${{ secrets.github_token }}
31-
flag-name: Test ${{ matrix.os }} node ${{ matrix.node-version }}
32-
parallel: true
36+
token: ${{ secrets.CODECOV_TOKEN }}
37+
files: ./lcov.info
38+
directory: ./coverage/
39+
name: Test ${{ matrix.os }} node ${{ matrix.node-version }}
40+
fail_ci_if_error: true
41+
path_to_write_report: ./coverage/codecov_report.txt
42+
verbose: true
3343
- name: Build bundle ${{ matrix.os }} node ${{ matrix.node-version }}
3444
run: npm run build --if-present
3545
- name: Test bundle ${{ matrix.os }} node ${{ matrix.node-version }}
@@ -38,8 +48,8 @@ jobs:
3848
needs: test
3949
runs-on: ubuntu-latest
4050
steps:
41-
- name: Coveralls Finished
42-
uses: coverallsapp/github-action@master
43-
with:
44-
github-token: ${{ secrets.github_token }}
45-
parallel-finished: true
51+
# - name: Coveralls Finished
52+
# uses: coverallsapp/github-action@master
53+
# with:
54+
# github-token: ${{ secrets.github_token }}
55+
# parallel-finished: true

0 commit comments

Comments
 (0)