Skip to content

Commit

Permalink
add wasm-pack test on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
matzemathics authored and mmarx committed Nov 7, 2023
1 parent 506aeba commit 475b420
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 57 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,15 @@ jobs:
run: pip install pycodestyle
- name: run pycodestyle
run: pycodestyle nemo-python --max-line-length 90

wasm-pack:
name: Test wasm bindings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- run: wasm-pack test --headless --chrome nemo-wasm
- run: wasm-pack test --headless --firefox nemo-wasm
Loading

0 comments on commit 475b420

Please sign in to comment.