We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ac37793 + 132d597 commit affc715Copy full SHA for affc715
.github/workflows/coverage.yml
@@ -0,0 +1,40 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - master
5
+ pull_request:
6
7
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
28
+ version: "0.15.0"
29
+ args: "-- --test-threads 1"
30
31
+ - name: Upload to codecov.io
32
+ uses: codecov/[email protected]
33
34
+ token: ${{secrets.CODECOV_TOKEN}}
35
36
+ - name: Archive code coverage results
37
+ uses: actions/upload-artifact@v1
38
39
+ name: code-coverage-report
40
+ path: cobertura.xml
.github/workflows/grcov.yml
0 commit comments