diff options
author | Nadrieril | 2020-05-30 14:16:37 +0100 |
---|---|---|
committer | GitHub | 2020-05-30 14:16:37 +0100 |
commit | f554164014a85b8d4d7248a8bdfa6dbcd2009988 (patch) | |
tree | 160f51119db6b7a54eaf986b2f188cf6e1f74bc9 /.github | |
parent | aaba9f7a1a6119443aa6a569e451e0e549e5bb37 (diff) | |
parent | a9b0923fb7a1f3aac5d872af70c4e4a0dd80621d (diff) |
Merge pull request #167 from Nadrieril/wasm
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yml | 22 |
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 |