File tree Expand file tree Collapse file tree 2 files changed +40
-66
lines changed Expand file tree Collapse file tree 2 files changed +40
-66
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - master
5+ pull_request :
6+ branches :
7+ - master
8+
9+ name : Code coverage with grcov
10+
11+ jobs :
12+ grcov :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v2
18+
19+ - name : Install stable toolchain
20+ uses : actions-rs/toolchain@v1
21+ with :
22+ toolchain : stable
23+ override : true
24+
25+ - name : Run cargo-tarpaulin
26+ uses :
actions-rs/[email protected] 27+ with :
28+ version : " 0.15.0"
29+ args : " -- --test-threads 1"
30+
31+ - name : Upload to codecov.io
32+ 33+ with :
34+ token : ${{secrets.CODECOV_TOKEN}}
35+
36+ - name : Archive code coverage results
37+ uses : actions/upload-artifact@v1
38+ with :
39+ name : code-coverage-report
40+ path : cobertura.xml
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments