Skip to content

Commit

Permalink
Fix llvm-cov argument interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Oct 11, 2024
1 parent 5b47064 commit 02d2c1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:

- name: Run tests
run: |
cargo llvm-cov nextest $LLVM_COV_ARGS
cargo llvm-cov report $LLVM_COV_ARGS --lcov --output-path lcov.info
cargo llvm-cov report $LLVM_COV_ARGS --html
LLVM_COV_ARGS=(--ignore-filename-regex 'kakadu/' --target ${{ matrix.build_configuration.target }} --include-ffi)
cargo llvm-cov nextest "${LLVM_COV_ARGS[@]}"
cargo llvm-cov report "${LLVM_COV_ARGS[@]}" --lcov --output-path lcov.info
cargo llvm-cov report "${LLVM_COV_ARGS[@]}" --html
env:
RUSTFLAGS: "-Ctarget-cpu=${{ matrix.build_configuration.cpu }}"
CARGO_TERM_COLOR: always
LLVM_COV_ARGS: --ignore-filename-regex 'kakadu/' --target ${{ matrix.build_configuration.target }} --include-ffi

- name: Upload coverage report
id: deployment
Expand Down

0 comments on commit 02d2c1e

Please sign in to comment.