CI: put tests into a separate script so they can be run externally (#2956)

This commit is contained in:
Benjamin Bouvier
2021-06-01 17:28:47 +02:00
committed by GitHub
parent eadafb1554
commit aa2c0cd0ec
3 changed files with 12 additions and 27 deletions

View File

@@ -293,14 +293,7 @@ jobs:
if: matrix.target == ''
# Build and test all features except for lightbeam
- run: |
cargo test \
--features test-programs/test_programs \
--workspace \
--exclude '*lightbeam*' \
--exclude 'wasmtime-wasi-*' \
--exclude 'peepmatic*' \
--exclude wasi-crypto
- run: ./ci/run-tests.sh --locked
env:
RUST_BACKTRACE: 1
@@ -349,7 +342,7 @@ jobs:
- run: rustup target add wasm32-unknown-unknown
# Run the old x86 backend CI (we will eventually remove this).
- run: ./ci/run-old-x86-ci.sh
- run: ./ci/run-tests.sh --features old-x86-backend --locked
env:
RUST_BACKTRACE: 1