Skip to content

Commit

Permalink
Rebase on main. Update coverage CI yet again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Anderson committed Jan 16, 2022
1 parent 396693b commit 7432463
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -260,19 +260,16 @@ jobs:
components: llvm-tools-preview
- name: install cargo-llvm-cov
shell: bash
# TODO: this is a workaround for overflowing the command length in windows - hopefully will get merged in cargo-llvm-cov (https://github.com/taiki-e/cargo-llvm-cov/pull/126)
run: cargo install --git https://github.com/aganders3/cargo-llvm-cov --branch relative-object-paths cargo-llvm-cov
# TODO: this is a workaround for overflowing the command length in
# windows - hopefully will get merged in cargo-llvm-cov
# (https://github.com/taiki-e/cargo-llvm-cov/pull/126)
# TODO: also some version of cargo-llvm-cov stopped taking multiple values for --package
run: cargo install --git https://github.com/aganders3/cargo-llvm-cov --branch fix-package-multiple-values cargo-llvm-cov
# run: |
# host=$(rustc -Vv | grep host | sed 's/host: //')
# curl -fsSL https://github.com/taiki-e/cargo-llvm-cov/releases/download/v${CARGO_LLVM_COV_VERSION}/cargo-llvm-cov-"$host".tar.gz | tar xzf - -C ~/.cargo/bin
# env:
# CARGO_LLVM_COV_VERSION: 0.1.11
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
components: llvm-tools-preview
- run: |
cargo llvm-cov clean --workspace
cargo llvm-cov --package $ALL_PACKAGES --no-report
Expand Down

0 comments on commit 7432463

Please sign in to comment.