Disable some tests for crates in their manifest (#725)

Instead of passing `--exclude` in CI disable them in the manifest so
`--all` can work with fewer flags locally as well.
This commit is contained in:
Alex Crichton
2019-12-16 11:00:50 -06:00
committed by GitHub
parent fe34c8e2e5
commit 5d399d48ab
3 changed files with 7 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ jobs:
- run: cargo fetch
# Build and test all features except for lightbeam
- run: cargo test --features test_programs --all --exclude lightbeam --exclude wasmtime-wasi-c --exclude wasmtime-py -- --nocapture
- run: cargo test --features test_programs --all --exclude lightbeam -- --nocapture
env:
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"
@@ -294,7 +294,7 @@ jobs:
- run: $CENTOS cargo build --release --manifest-path crates/api/Cargo.toml
shell: bash
# Test what we just built
- run: $CENTOS cargo test --features test_programs --release --all --exclude lightbeam --exclude wasmtime-wasi-c --exclude wasmtime-py --exclude wasmtime --exclude wasmtime-fuzzing
- run: $CENTOS cargo test --features test_programs --release --all --exclude lightbeam --exclude wasmtime --exclude wasmtime-fuzzing
shell: bash
env:
RUST_BACKTRACE: 1