Skip to content

Commit

Permalink
ci: update the coverage workflow (#206)
Browse files Browse the repository at this point in the history
use of --workspace option instead of -p for the cargo build/test
  • Loading branch information
pythonbrad authored Mar 22, 2024
1 parent 937b7fa commit 5192a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
- name: build
env:
RUSTFLAGS: -Cinstrument-coverage
run: cargo build -p afrim-memory -p afrim-preprocessor -p afrim-translator -p afrim-config -p afrim --verbose
run: cargo build --workspace --verbose

- name: test
env:
RUSTFLAGS: -Cinstrument-coverage
LLVM_PROFILE_FILE: name-%p-%m.profraw
run: cargo test -p afrim-memory -p afrim-preprocessor -p afrim-translator -p afrim-config -p afrim --verbose
run: cargo test --workspace --verbose

- name: Run grcov
run: |
Expand Down

0 comments on commit 5192a5f

Please sign in to comment.