Skip to content

Commit 742aae9

Browse files
authored
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: Yuki Saito <awsaito@amazon.com>
1 parent 187918a commit 742aae9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/ci-scripts/check-aws-sdk-services

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
set -eux
88
cd aws-sdk
99

10-
# Remove examples from workspace
11-
sed -i '/"examples\//d' Cargo.toml
12-
10+
# Invoking `cargo test` at the root directory implicitly checks for the validity
11+
# of the top-level `Cargo.toml`
1312
cargo test --all-features
1413

1514
for test_dir in tests/*; do

0 commit comments

Comments
 (0)