Skip to content

Commit acaadea

Browse files
committed
chore: fix codecov
1 parent d16152d commit acaadea

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- run: node --version
1919
- run: npm install
2020
- run: npm test
21+
- name: coverage
22+
uses: codecov/codecov-action@v1
23+
with:
24+
name: actions ${{ matrix.node }}
25+
fail_ci_if_error: false
2126
test-windows:
2227
runs-on: windows-latest
2328
steps:
@@ -27,6 +32,11 @@ jobs:
2732
node-version: 12
2833
- run: npm install
2934
- run: npm test
35+
- name: coverage
36+
uses: codecov/codecov-action@v1
37+
with:
38+
name: actions windows
39+
fail_ci_if_error: false
3040
lint:
3141
runs-on: ubuntu-latest
3242
steps:
@@ -36,13 +46,3 @@ jobs:
3646
node-version: 12
3747
- run: npm install
3848
- run: npm run lint
39-
coverage:
40-
runs-on: ubuntu-latest
41-
steps:
42-
- uses: actions/checkout@v1
43-
- uses: actions/setup-node@v1
44-
with:
45-
node-version: 13
46-
- run: npm install
47-
- run: npm test
48-
- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecovorg -a ${{ secrets.CODECOV_API_KEY }} -r $GITHUB_REPOSITORY --pipe

codecov.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore:
2+
proto

0 commit comments

Comments
 (0)