Add wasm32_test_task
@@ -3,7 +3,7 @@ container:
cpu: 4
memory: 12
-test_task:
+x86_64_test_task:
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock
@@ -11,3 +11,16 @@ test_task:
test_script: cargo test
before_cache_script: rm -rf $CARGO_HOME/registry/index
+wasm32_test_task:
+ cargo_cache:
+ folder: $CARGO_HOME/registry
+ fingerprint_script: cat Cargo.lock
+ test_script: |
+ pushd lumen_web
+ wasm-pack test --headless --chrome --firefox
+ popd
+ pushd examples/spawn-chain
+ wasm-pack test --headless --chrome --firefox
+ popd
+ before_cache_script: rm -rf $CARGO_HOME/registry/index
+
