Skip to content

Commit

Permalink
Merge pull request #2617 from PyO3/xtask-drop-workspace
Browse files Browse the repository at this point in the history
Selecting the whole workspace conflicts with package selection in llvm_cov_command.
  • Loading branch information
davidhewitt authored Sep 14, 2022
2 parents 045df99 + 370319e commit 3f4a87c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ jobs:
cargo update -p plotters-svg --precise 0.3.1
cargo update -p plotters-backend --precise 0.3.2
cargo update -p bumpalo --precise 3.10.0
cargo update -p itertools --precise 0.10.3
- name: Build docs
run: cargo doc --no-deps --no-default-features --features "full ${{ matrix.extra_features }}"
Expand Down
6 changes: 5 additions & 1 deletion xtask/src/llvm_cov.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ use std::{collections::HashMap, process::Command};
pub fn run(opts: CoverageOpts) -> Result<()> {
let env = get_coverage_env()?;

cli::run(llvm_cov_command(&["clean", "--workspace"]).envs(&env))?;
cli::run(
Command::new("cargo")
.args(&["llvm-cov", "clean", "--workspace"])
.envs(&env),
)?;

cli::run(
Command::new("cargo")
Expand Down

0 comments on commit 3f4a87c

Please sign in to comment.