This commit is contained in:
Jonas Platte 2020-08-13 22:13:20 +02:00
parent 6e2b76c528
commit b68deabb86
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
2 changed files with 10 additions and 16 deletions

View File

@ -34,14 +34,11 @@ tasks:
cargo test --all-features --verbose cargo test --all-features --verbose
id_test_2_exit=$? id_test_2_exit=$?
# ruma-client_api also has a few features. Make sure it works both with # ruma-client_api also has a few optional features, but none are enabled
# all of them and none of them being enabled. # by default. Make sure it works with all of them.
cd ruma-client-api cd ruma-client-api
cargo test --no-default-features --verbose cargo check --all-features --verbose
id_test_1_exit=$? client_api_exit=$?
cargo test --all-features --verbose exit $(( $fmt_exit || $clippy_exit || $test_exit || $id_test_1_exit || $id_test_2_exit || $client_api_exit ))
id_test_2_exit=$?
exit $(( $fmt_exit || $clippy_exit || $test_exit || $id_test_1_exit || $id_test_2_exit ))

View File

@ -34,16 +34,13 @@ tasks:
cargo test --all-features --verbose cargo test --all-features --verbose
id_test_2_exit=$? id_test_2_exit=$?
# ruma-client_api also has a few features. Make sure it works both with # ruma-client_api also has a few optional features, but none are enabled
# all of them and none of them being enabled. # by default. Make sure it works with all of them.
cd ruma-client-api cd ruma-client-api
cargo test --no-default-features --verbose cargo check --all-features --verbose
id_test_1_exit=$? client_api_exit=$?
cargo test --all-features --verbose exit $(( $fmt_exit || $clippy_exit || $test_exit || $id_test_1_exit || $id_test_2_exit || $client_api_exit ))
id_test_2_exit=$?
exit $(( $fmt_exit || $clippy_exit || $test_exit || $id_test_1_exit || $id_test_2_exit ))
# TODO: Add audit task once cargo-audit binary releases are available. # TODO: Add audit task once cargo-audit binary releases are available.
# See https://github.com/RustSec/cargo-audit/issues/66 # See https://github.com/RustSec/cargo-audit/issues/66