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.
2 parents f63c6f6 + 1e5b1c0 commit 9c26456Copy full SHA for 9c26456
.github/workflows/cov.yml
@@ -0,0 +1,22 @@
1
+name: Coverage
2
+
3
+on: [pull_request]
4
5
+jobs:
6
+ coverage:
7
+ runs-on: ubuntu-latest
8
+ env:
9
+ CARGO_TERM_COLOR: always
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - name: Install Rust
13
+ run: rustup toolchain install stable --component llvm-tools-preview
14
+ - name: Install cargo-llvm-cov
15
+ uses: taiki-e/install-action@cargo-llvm-cov
16
+ - name: Generate code coverage
17
+ run: cargo llvm-cov --all-features --lcov --output-path lcov.info
18
+ - name: Upload coverage to Codecov
19
+ uses: codecov/codecov-action@v3
20
+ with:
21
+ files: lcov.info
22
+ fail_ci_if_error: true
0 commit comments