Merge pull request #2617 from PyO3/xtask-drop-workspace

Selecting the whole workspace conflicts with package selection in llvm_cov_command.
This commit is contained in:
David Hewitt 2022-09-14 21:49:03 +01:00 committed by GitHub
commit 3f4a87cd5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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 }}"

View File

@ -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")