Skip to content

Commit

Permalink
Add a CI step for running WASM tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fjarri committed Jan 25, 2022
1 parent dc706e4 commit 12dfb14
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/nucypher-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,27 @@ jobs:
- run: cargo check --all-features
- run: cargo test --release --all-features

wasm-test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- wasm32-unknown-unknown

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
components: wasm-pack
target: ${{ matrix.target }}
override: true
- run: wasm-pack test --node

trigger-wheels:
runs-on: ubuntu-latest
needs: test
Expand Down

0 comments on commit 12dfb14

Please sign in to comment.