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 9244ced commit 0f41920Copy full SHA for 0f41920
.github/workflows/coverage.yml
@@ -26,8 +26,11 @@ jobs:
26
steps:
27
- uses: actions/checkout@v4
28
# Nightly Rust is used for cargo llvm-cov --doc below.
29
- - uses: dtolnay/rust-toolchain@nightly
+ - uses: actions-rs/toolchain@v1
30
with:
31
+ profile: minimal
32
+ toolchain: nightly
33
+ override: true
34
components: llvm-tools-preview
35
- name: Install cargo-llvm-cov
36
uses: taiki-e/install-action@v2
@@ -38,6 +41,7 @@ jobs:
38
41
- name: Collect coverage data
39
42
# Generate separate reports for tests and doctests, and combine them.
40
43
run: |
44
+ set -euo pipefail
45
cargo llvm-cov --no-report --all-features --workspace
46
cargo llvm-cov --no-report --doc --all-features --workspace
47
cargo llvm-cov report --doctests --codecov --output-path codecov.json
0 commit comments