From 43725ac1ee4558d2c3e9d2c8c44a69be465a2700 Mon Sep 17 00:00:00 2001 From: Camille TJHOA Date: Tue, 13 Apr 2021 00:47:20 +0200 Subject: [PATCH] Add wasm integration tests to CI (#657) (#1237) --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fec8dcf..a57bdad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -272,3 +272,12 @@ jobs: with: command: check args: --target wasm32-unknown-unknown + + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + + - name: Wasm-pack test firefox + run: wasm-pack test --headless --firefox + + - name: Wasm-pack test chrome + run: wasm-pack test --headless --chrome