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:
Ivan Petkov
2019-08-18 10:50:38 -07:00
committed by GitHub
parent a9585f0318
commit bc61bd9d3d
+2 -2
View File
@@ -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'