Skip to content

Commit

Permalink
ci: test WASM for each package separately
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 5, 2024
1 parent da033b9 commit ba10069
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ jobs:
run: cargo test --workspace --all-features --no-fail-fast
wasm-testing:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: [ apfloat, num ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: jetli/[email protected]
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Test in headless Chrome
run: wasm-pack test --headless --chrome
run: wasm-pack test --headless --chrome ${{matrix.package}}

0 comments on commit ba10069

Please sign in to comment.