Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
...@@ -10,7 +10,7 @@ set -eux ...@@ -10,7 +10,7 @@ set -eux
pushd aws-sdk-smoketest &>/dev/null pushd aws-sdk-smoketest &>/dev/null
# Override "fail on warning" for smoke test docs since DynamoDB's modeled docs cause rustdoc warnings # 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 clippy --all-features
cargo +"${RUST_NIGHTLY_VERSION}" udeps cargo +"${RUST_NIGHTLY_VERSION}" udeps
......
...@@ -13,7 +13,6 @@ cd aws-sdk ...@@ -13,7 +13,6 @@ cd aws-sdk
sed -i '/"examples\//d' Cargo.toml sed -i '/"examples\//d' Cargo.toml
cargo check --all-targets --all-features 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 for test_dir in tests/*; do
if [ -f "${test_dir}/Cargo.toml" ]; then if [ -f "${test_dir}/Cargo.toml" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment