Remove excess cargo test passes from additional-ci (#1595)

* Use --exclude-all-features in additional-ci

* Remove excess cargo test --all-features

* Improve powerset echo
This commit is contained in:
Harry Barber 2022-07-28 21:40:49 +01:00 committed by GitHub
parent e38db43ceb
commit 0fb5ccb814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View File

@ -14,10 +14,10 @@ cargo "+${RUST_NIGHTLY_VERSION:-nightly}" api-linter --all-features --config api
echo "### Checking for duplicate dependency versions in the normal dependency graph with all features enabled"
cargo tree -d --edges normal --all-features
echo "### Testing with all features enabled"
cargo test --all-features
echo "### Testing each feature in isolation"
# `aws-config` is not part of the `rust-runtime` workspace. As a result it is not run through
# `check-rust-runtimes-and-tools` and does not get `cargo test --all-features` prior to this point. As a result we do
# not apply `--exclude-all-features` here.
echo "### Testing every combination of features"
cargo hack test --feature-powerset
echo "### Checking that compiling with the minimal versions succeeds"

View File

@ -11,5 +11,5 @@ set -e
echo "### Checking for duplicate dependency versions in the normal dependency graph with all features enabled"
cargo tree -d --edges normal --all-features
echo "### Checking each feature"
cargo hack test --feature-powerset
echo "### Testing every combination of features (excluding --all-features)"
cargo hack test --feature-powerset --exclude-all-features

View File

@ -11,5 +11,5 @@ set -e
echo "### Checking for duplicate dependency versions in the normal dependency graph with all features enabled"
cargo tree -d --edges normal --all-features
echo "### Checking each feature"
cargo hack test --feature-powerset
echo "### Testing every combination of features (excluding --all-features)"
cargo hack test --feature-powerset --exclude-all-features

View File

@ -8,5 +8,5 @@
set -e
echo "### Testing feature powerset"
cargo hack test --feature-powerset
echo "### Testing every combination of features (excluding --all-features)"
cargo hack test --feature-powerset --exclude-all-features