Unverified Commit 742aae95 authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

Check the validity of the top-level Cargo.toml (#2553)



This commit updates `ci-scripts/check-aws-sdk-service` to implicitly
check whether the top-level `Cargo.toml` is valid or not. In this case,
"valid" means that examples are properly excluded from the workspace.

Co-authored-by: default avatarYuki Saito <awsaito@amazon.com>
parent 187918a0
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -7,9 +7,8 @@
set -eux
cd aws-sdk

# Remove examples from workspace
sed -i '/"examples\//d' Cargo.toml

# Invoking `cargo test` at the root directory implicitly checks for the validity
# of the top-level `Cargo.toml`
cargo test --all-features

for test_dir in tests/*; do