summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorNadrieril2020-05-29 22:23:12 +0100
committerNadrieril2020-05-30 13:57:06 +0100
commit9254465d6876eff8ee9c6431b41cfb9e92d9a9db (patch)
tree27a2ab3228d63ca66d1a655ea64460a16ab7ab05 /.github/workflows
parent15b20bd14136c5e8e44fa5d0be4b8d4eb4411cb6 (diff)
ci: test wasm
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/tests.yml22
1 files changed, 22 insertions, 0 deletions
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