Skip to content

Commit

Permalink
Add CI for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Nov 7, 2023
1 parent f112c08 commit 085b467
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,18 @@ jobs:

- name: Run tests no features
run: cargo test --no-default-features

wasm:
name: Run tests in wasm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Run tests default features
run: cargo test --target wasm32-unknown-unknown

- name: Run tests no features
run: cargo test --no-default-features --target wasm32-unknown-unknown

0 comments on commit 085b467

Please sign in to comment.