Skip to content

Commit 0ab3dac

Browse files
samuel-jimenezsylvestre
authored andcommitted
Create config during testing to collect coverage data
1 parent 4e7d035 commit 0ab3dac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,12 @@ jobs:
313313
- name: "`grcov` ~ install"
314314
run: cargo install grcov
315315

316+
- name: Create config for testing
317+
run: |
318+
mkdir -p .cargo
319+
echo '[env]
320+
LLVM_PROFILE_FILE = { value = "target/debug/coverage/default-%p-%8m.profraw", relative = true }' >> .cargo/config.toml
321+
316322
- name: Execute tests
317323
run: cargo test --no-fail-fast --locked --all-targets ${{ matrix.extra_args }}
318324
env:

0 commit comments

Comments
 (0)