Merge pull request #1923 from ZcashFoundation/coverage-no-incremental

Disable incremental compilation in coverage builds to avoid disk space errors.
This commit is contained in:
teor 2021-03-19 11:33:25 +10:00 committed by GitHub
parent c8b8a428c6
commit c57baad7e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ jobs:
RUSTFLAGS: -Zinstrument-coverage -C link-dead-code -C debuginfo=2
LLVM_PROFILE_FILE: "${{ github.workspace }}/test.%p.profraw"
ZEBRA_SKIP_NETWORK_TESTS: 1
CARGO_INCREMENTAL: 0
run: |
cargo test
cargo test --no-run --message-format=json | jq -r "select(.profile.test == true) | .filenames[]" | grep -v dSYM - > filenames.txt