From 9254465d6876eff8ee9c6431b41cfb9e92d9a9db Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 29 May 2020 22:23:12 +0100 Subject: ci: test wasm --- .github/workflows/tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b257115..c0be05c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,3 +56,25 @@ jobs: with: command: test + test_wasm: + name: Run wasm tests + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - stable + steps: + - name: Checkout branch + uses: actions/checkout@master + with: + submodules: true + - name: Setup Rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + - name: Run tests + run: wasm-pack test serde_dhall --node -- cgit v1.2.3