Skip to content

Commit 946f47e

Browse files
authored
Workflow for uploading coverage to codecov (#2200)
1 parent 4de1699 commit 946f47e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test_coverage.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Test coverage
2+
on:
3+
pull_request: {}
4+
push:
5+
branches: [develop, main, master]
6+
jobs:
7+
test-coverage:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v2
12+
13+
- name: Run tests with coverage
14+
run: "yarn install && yarn build && yarn coverage"
15+
16+
- name: Upload coverage
17+
uses: codecov/codecov-action@v2
18+
with:
19+
verbose: true

0 commit comments

Comments
 (0)