Skip to content

Commit d4dbe45

Browse files
committed
Fix test workflow
1 parent 6850871 commit d4dbe45

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
args: --locked --all-features --no-fail-fast
3939
env:
4040
CARGO_INCREMENTAL: '0'
41-
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
42-
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
41+
RUSTFLAGS: '-Cinstrument-coverage'
42+
RUSTDOCFLAGS: '-Cinstrument-coverage'
43+
LLVM_PROFILE_FILE: 'nicator-%p-%m.profraw'
4344
- uses: actions-rs/[email protected]
4445
id: grcov
4546
with:

grcov.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
branch: true
22
llvm: true
33
ignore-not-existing: true
4+
binary-path: "./target/debug/"
5+
source-dir: "."
46
ignore:
57
- "/usr/*"
68
- "/home/runner/.cargo/*"

0 commit comments

Comments
 (0)