Speed up CI a bit: run only component-model tests under component-model feature. (#4221)

Right now the CI test job runs `cargo test --features component-model`
and runs all tests with this feature enabled, which takes a bit of time,
especially on our emulation-based targets. This seems to have become the
critical path, at least in some CI jobs I've been watching. This PR
restricts these runs to only component-model-specific tests when the
feature is enabled.
This commit is contained in:
Chris Fallin
2022-06-03 18:39:49 -07:00
committed by GitHub
parent ae2c84205f
commit 0b0d49fff9

View File

@@ -300,7 +300,7 @@ jobs:
# Test the component-model related functionality which is gated behind a # Test the component-model related functionality which is gated behind a
# compile-time feature # compile-time feature
- run: cargo test --features component-model - run: cargo test --test all --features component-model component_model
# Build and test the wasi-nn module. # Build and test the wasi-nn module.
test_wasi_nn: test_wasi_nn: