mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-12 00:00:12 +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
|
||||
- ${{ each feature in crate.value }}:
|
||||
- script: cargo test --tests --no-default-features --features ${{ feature }}
|
||||
- script: cargo test --no-default-features --features ${{ feature }}
|
||||
env:
|
||||
LOOM_MAX_PREEMPTIONS: 2
|
||||
CI: 'True'
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
# Run with each specified feature
|
||||
- ${{ each feature in crate.value }}:
|
||||
- script: cargo test --tests --no-default-features --features ${{ feature }}
|
||||
- script: cargo test --no-default-features --features ${{ feature }}
|
||||
env:
|
||||
LOOM_MAX_PREEMPTIONS: 2
|
||||
CI: 'True'
|
||||
|
||||
Reference in New Issue
Block a user