Specify default-members for virtual workspace

This commit is contained in:
Jonas Platte 2022-03-02 18:56:56 +01:00 committed by GitHub
parent 99cd70b430
commit f5e27997dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
[workspace]
members = ["crates/*", "examples/*", "xtask"]
# xtask should only be compiled when invoked explicitly
default-members = ["crates/*", "examples/*"]

View File

@ -71,7 +71,7 @@ impl CiTask {
cmd!("rustup run stable cargo check -p ruma-identifiers --no-default-features").run()?;
// 2. Run tests
let workspace_res = cmd!("rustup run stable cargo test --workspace --features __ci").run();
let workspace_res = cmd!("rustup run stable cargo test --features __ci").run();
let events_compat_res =
cmd!("rustup run stable cargo test -p ruma-events --features compat compat").run();