Unverified Commit 0fb5ccb8 authored by Harry Barber's avatar Harry Barber Committed by GitHub
Browse files

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
parent e38db43c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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"
+2 −2
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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