mirror of https://github.com/smithy-lang/smithy-rs
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:
parent
e38db43ceb
commit
0fb5ccb814
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue