Heavily reduce noise in CI output
This commit is contained in:
parent
7c31fceb61
commit
650438695a
@ -18,20 +18,20 @@ tasks:
|
||||
cargo fmt --all -- --check
|
||||
fmt_exit=$?
|
||||
|
||||
cargo clippy --all --all-targets --all-features -- -D warnings
|
||||
cargo clippy --all --all-targets --all-features --quiet -- -D warnings
|
||||
clippy_exit=$?
|
||||
|
||||
cargo test --all --verbose
|
||||
cargo test --all --quiet
|
||||
test_exit=$?
|
||||
|
||||
# ruma-identifiers has a bunch of features. Make sure it works both with
|
||||
# all of them and none of them being enabled.
|
||||
cd ruma-identifiers
|
||||
|
||||
cargo test --no-default-features --verbose
|
||||
cargo test --no-default-features --quiet
|
||||
id_test_1_exit=$?
|
||||
|
||||
cargo test --all-features --verbose
|
||||
cargo test --all-features --quiet
|
||||
id_test_2_exit=$?
|
||||
|
||||
# ruma-client_api also has a few optional features, but none are enabled
|
||||
|
@ -25,7 +25,7 @@ tasks:
|
||||
fmt_exit=$?
|
||||
|
||||
if ( rustup component list | grep -q clippy ); then
|
||||
cargo clippy --all --all-targets --all-features -- -D warnings
|
||||
cargo clippy --all --all-targets --all-features --quiet -- -D warnings
|
||||
fi
|
||||
clippy_exit=$?
|
||||
|
||||
|
@ -18,27 +18,27 @@ tasks:
|
||||
cargo fmt --all -- --check
|
||||
fmt_exit=$?
|
||||
|
||||
cargo clippy --all --all-targets --all-features -- -D warnings
|
||||
cargo clippy --all --all-targets --all-features --quiet -- -D warnings
|
||||
clippy_exit=$?
|
||||
|
||||
cargo test --all --verbose
|
||||
cargo test --all --quiet
|
||||
test_exit=$?
|
||||
|
||||
# ruma-identifiers has a bunch of features. Make sure it works both with
|
||||
# all of them and none of them being enabled.
|
||||
cd ruma-identifiers
|
||||
|
||||
cargo test --no-default-features --verbose
|
||||
cargo test --no-default-features --quiet
|
||||
id_test_1_exit=$?
|
||||
|
||||
cargo test --all-features --verbose
|
||||
cargo test --all-features --quiet
|
||||
id_test_2_exit=$?
|
||||
|
||||
# ruma-client_api also has a few optional features, but none are enabled
|
||||
# by default. Make sure it works with all of them.
|
||||
cd ruma-client-api
|
||||
|
||||
cargo check --all-features --verbose
|
||||
cargo check --all-features --quiet
|
||||
client_api_exit=$?
|
||||
|
||||
exit $(( $fmt_exit || $clippy_exit || $test_exit || $id_test_1_exit || $id_test_2_exit || $client_api_exit ))
|
||||
|
Loading…
x
Reference in New Issue
Block a user