Skip to content

Commit

Permalink
Switching to old nightly to work around ICE
Browse files Browse the repository at this point in the history
Refs #46.
  • Loading branch information
ecton committed Apr 21, 2021
1 parent 7f0162b commit cd668bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Install code coverage requirements
run: |
rustup component add llvm-tools-preview
rustup install nightly
rustup install nightly-2021-03-25
curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar jxf -
cargo install badgeland
Expand Down
2 changes: 1 addition & 1 deletion generate-code-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
echo "Executing tests"
cargo clean
CARGO_INCREMENTAL=0 LLVM_PROFILE_FILE="%m.profraw" RUSTFLAGS="-Zinstrument-coverage" RUSTDOCFLAGS="-Cpanic=abort" cargo +nightly test --all-features
CARGO_INCREMENTAL=0 LLVM_PROFILE_FILE="%m.profraw" RUSTFLAGS="-Zinstrument-coverage" RUSTDOCFLAGS="-Cpanic=abort" cargo +nightly-2021-03-25 test --all-features
echo "Generating coverage report"
grcov . --binary-path ./target/debug/ -s . -t html --branch --ignore-not-existing --llvm -o coverage/
COVERAGE=`cat coverage/index.html | grep -oP '\d+(\.\d+)? %' | head -n1`
Expand Down

0 comments on commit cd668bf

Please sign in to comment.