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 8bb22b6 commit a5a84b2Copy full SHA for a5a84b2
.github/workflows/coverage.yml
@@ -32,15 +32,16 @@ jobs:
32
- name: Generate the coverage data
33
run: |
34
cargo clean
35
- cargo test \
36
- --workspace \
37
- --all-targets \
38
- --exclude derive \
39
- --exclude print \
40
- --exclude single-source
+ cargo \
+ --config "target.'cfg(all())'.rustflags=['-Cinstrument-coverage']" \
+ test \
+ --workspace \
+ --all-targets \
+ --exclude derive \
41
+ --exclude print \
42
+ --exclude single-source
43
env:
44
CARGO_INCREMENTAL: 0
- RUSTFLAGS: -Cinstrument-coverage
45
RUSTDOCFLAGS: -Cinstrument-coverage
46
LLVM_PROFILE_FILE: coverage/coverage-%p-%m.profraw
47
0 commit comments