Skip to content

Commit a5a84b2

Browse files
committed

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/coverage.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ jobs:
3232
- name: Generate the coverage data
3333
run: |
3434
cargo clean
35-
cargo test \
36-
--workspace \
37-
--all-targets \
38-
--exclude derive \
39-
--exclude print \
40-
--exclude single-source
35+
cargo \
36+
--config "target.'cfg(all())'.rustflags=['-Cinstrument-coverage']" \
37+
test \
38+
--workspace \
39+
--all-targets \
40+
--exclude derive \
41+
--exclude print \
42+
--exclude single-source
4143
env:
4244
CARGO_INCREMENTAL: 0
43-
RUSTFLAGS: -Cinstrument-coverage
4445
RUSTDOCFLAGS: -Cinstrument-coverage
4546
LLVM_PROFILE_FILE: coverage/coverage-%p-%m.profraw
4647

0 commit comments

Comments
 (0)