Commit 52e592ed authored by Russell Cohen's avatar Russell Cohen
Browse files

Remove cargo doc from all-services check to speed up CI (#3179)

## 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._
parent 6cb0b461
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -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