Fix CI
This commit is contained in:
parent
6e2b76c528
commit
b68deabb86
@ -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 ))
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user