mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
ci: ensure all tests are run for each feature (#1470)
* This includes running docs, examples, and lib tests for each added feature, to ensure nothing is broken
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
|||||||
|
|
||||||
# Run with each specified feature
|
# Run with each specified feature
|
||||||
- ${{ each feature in crate.value }}:
|
- ${{ each feature in crate.value }}:
|
||||||
- script: cargo test --tests --no-default-features --features ${{ feature }}
|
- script: cargo test --no-default-features --features ${{ feature }}
|
||||||
env:
|
env:
|
||||||
LOOM_MAX_PREEMPTIONS: 2
|
LOOM_MAX_PREEMPTIONS: 2
|
||||||
CI: 'True'
|
CI: 'True'
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
|
|
||||||
# Run with each specified feature
|
# Run with each specified feature
|
||||||
- ${{ each feature in crate.value }}:
|
- ${{ each feature in crate.value }}:
|
||||||
- script: cargo test --tests --no-default-features --features ${{ feature }}
|
- script: cargo test --no-default-features --features ${{ feature }}
|
||||||
env:
|
env:
|
||||||
LOOM_MAX_PREEMPTIONS: 2
|
LOOM_MAX_PREEMPTIONS: 2
|
||||||
CI: 'True'
|
CI: 'True'
|
||||||
|
|||||||
Reference in New Issue
Block a user