Skip to content

Commit

Permalink
Remove cargo doc from all-services check to speed up CI (#3179)
Browse files Browse the repository at this point in the history
## Motivation and Context
Running this check on all services significantly slows down CI

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
  • Loading branch information
rcoh committed Nov 13, 2023
1 parent 6cb0b46 commit e21c8ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tools/ci-scripts/check-aws-sdk-smoketest-docs-clippy-udeps
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -eux
pushd aws-sdk-smoketest &>/dev/null

# Override "fail on warning" for smoke test docs since DynamoDB's modeled docs cause rustdoc warnings
RUSTDOCFLAGS="" cargo doc --no-deps --document-private-items --all-features
RUSTDOCFLAGS="--cfg docsrs" cargo +"${RUST_NIGHTLY_VERSION}" doc --no-deps --document-private-items --all-features

cargo clippy --all-features
cargo +"${RUST_NIGHTLY_VERSION}" udeps
Expand Down
1 change: 0 additions & 1 deletion tools/ci-scripts/check-only-aws-sdk-services
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ cd aws-sdk
sed -i '/"examples\//d' Cargo.toml

cargo check --all-targets --all-features
RUSTDOCFLAGS="--cfg docsrs" cargo +"${RUST_NIGHTLY_VERSION}" doc --no-deps --document-private-items --all-features

for test_dir in tests/*; do
if [ -f "${test_dir}/Cargo.toml" ]; then
Expand Down

0 comments on commit e21c8ea

Please sign in to comment.