Skip to content

Commit

Permalink
Fix RUSTFLAGS merging for ptx kernels in codecov CI
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed May 20, 2024
1 parent 8bb22b6 commit a5a84b2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ jobs:
- name: Generate the coverage data
run: |
cargo clean
cargo test \
--workspace \
--all-targets \
--exclude derive \
--exclude print \
--exclude single-source
cargo \
--config "target.'cfg(all())'.rustflags=['-Cinstrument-coverage']" \
test \
--workspace \
--all-targets \
--exclude derive \
--exclude print \
--exclude single-source
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: -Cinstrument-coverage
RUSTDOCFLAGS: -Cinstrument-coverage
LLVM_PROFILE_FILE: coverage/coverage-%p-%m.profraw

Expand Down

0 comments on commit a5a84b2

Please sign in to comment.