We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1714cc0 commit ea6e5a7Copy full SHA for ea6e5a7
.github/workflows/coverage.yml
@@ -0,0 +1,30 @@
1
+on:
2
+ push:
3
+ branches: [master]
4
+ pull_request:
5
+
6
+name: Code Coverage
7
8
+jobs:
9
+ coverage:
10
+ name: coverage
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: checkout source
14
+ uses: actions/checkout@v4
15
16
+ - name: Install nightly toolchain
17
+ uses: dtolnay/rust-toolchain@nightly
18
+ with:
19
+ components: llvm-tools-preview
20
21
+ - name: Install cargo-llvm-cov
22
+ uses: taiki-e/install-action@cargo-llvm-cov
23
24
+ - name: Run llvm-cov
25
+ run: cargo llvm-cov --all-features --doctests --workspace --lcov --output-path lcov.info
26
27
+ - name: Upload coverage to Codecov
28
+ uses: codecov/codecov-action@v3
29
30
+ files: lcov.info
0 commit comments