mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
ci: Run cargo test
with the --no-fail-fast flag (#635)
Since the CI runs all tests for all tokio crates, it is possible that a sporadic failure in one crate can mask failures/successes of other crates' tests. Using the `--no-fail-fast` flag instructs cargo to run *all* tests before failing the build. This will allow checking to see if any relevant test cases still pass even if an unrelated test has failed.
This commit is contained in:
parent
aaa5adb7fd
commit
24dc85dc5e
@ -16,4 +16,4 @@ install:
|
|||||||
build: false
|
build: false
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cargo test --all --target %TARGET%
|
- cargo test --all --no-fail-fast --target %TARGET%
|
||||||
|
@ -76,7 +76,7 @@ script:
|
|||||||
cargo check --all --exclude tokio-tls --target $TARGET
|
cargo check --all --exclude tokio-tls --target $TARGET
|
||||||
cargo check --tests --all --exclude tokio-tls --target $TARGET
|
cargo check --tests --all --exclude tokio-tls --target $TARGET
|
||||||
else
|
else
|
||||||
cargo test --all
|
cargo test --all --no-fail-fast
|
||||||
# Disable these tests for now as they are buggy
|
# Disable these tests for now as they are buggy
|
||||||
#
|
#
|
||||||
# cargo test --features unstable-futures
|
# cargo test --features unstable-futures
|
||||||
|
Loading…
x
Reference in New Issue
Block a user