Skip to content

Commit

Permalink
ci: Temporarily disable nextest-related to avoid upstream bug
Browse files Browse the repository at this point in the history
```
error: failed to parse messages generated by Cargo

Caused by:
  error querying package graph

Caused by:
  unknown package ID: bin_crate 0.0.0 (path+file:///home/runner/work/cargo-llvm-cov/cargo-llvm-cov/tests/fixtures/crates/bin_crate)
error: process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo nextest run --manifest-path /home/runner/work/cargo-llvm-cov/cargo-llvm-cov/tests/fixtures/crates/bin_crate/Cargo.toml --target-dir /home/runner/work/cargo-llvm-cov/cargo-llvm-cov/tests/fixtures/crates/bin_crate/target/llvm-cov-target` (exit status: 104)
```
  • Loading branch information
taiki-e committed Jan 18, 2024
1 parent bab7732 commit 73add9e
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,22 @@ jobs:
- run: cargo test --workspace --all-features
# TODO: move this test to tests/test.rs
- run: cargo install --path . --debug
- run: |
set -eEuxo pipefail
cargo llvm-cov nextest --text --fail-under-lines 50
cargo llvm-cov nextest --text --fail-under-lines 50 --profile default --cargo-profile dev
cargo llvm-cov nextest --text --fail-under-lines 50 --profile ci
cargo llvm-cov nextest --text --fail-under-lines 50 --profile ci --cargo-profile dev
cd ../real1
cargo llvm-cov nextest-archive --archive-file a.tar.zst
cargo llvm-cov nextest --archive-file a.tar.zst --text --fail-under-lines 70
rm a.tar.zst
cargo clean
host=$(rustc -Vv | grep host | sed 's/host: //')
cargo llvm-cov nextest-archive --archive-file a.tar.zst --target "${host}"
cargo llvm-cov nextest --archive-file a.tar.zst --text --fail-under-lines 70 --target "${host}"
working-directory: tests/fixtures/crates/bin_crate
# TODO: cargo bug: https://github.com/nextest-rs/nextest/issues/1232
# - run: |
# set -eEuxo pipefail
# cargo llvm-cov nextest --text --fail-under-lines 50
# cargo llvm-cov nextest --text --fail-under-lines 50 --profile default --cargo-profile dev
# cargo llvm-cov nextest --text --fail-under-lines 50 --profile ci
# cargo llvm-cov nextest --text --fail-under-lines 50 --profile ci --cargo-profile dev
# cd ../real1
# cargo llvm-cov nextest-archive --archive-file a.tar.zst
# cargo llvm-cov nextest --archive-file a.tar.zst --text --fail-under-lines 70
# rm a.tar.zst
# cargo clean
# host=$(rustc -Vv | grep host | sed 's/host: //')
# cargo llvm-cov nextest-archive --archive-file a.tar.zst --target "${host}"
# cargo llvm-cov nextest --archive-file a.tar.zst --text --fail-under-lines 70 --target "${host}"
# working-directory: tests/fixtures/crates/bin_crate
- run: |
set -eEuxo pipefail
git clone --depth 1 https://github.com/taiki-e/easytime.git
Expand Down

0 comments on commit 73add9e

Please sign in to comment.