Skip to content

Commit

Permalink
test(jans-cedarling): add run WASM tests on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Bohzok <[email protected]>
  • Loading branch information
olehbozhok committed Jan 2, 2025
1 parent 328da64 commit 2f709f3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test-cedarling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
run: |
cd ./jans-cedarling
cargo test --workspace
- name: Install WASM dependencies
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Run WASM using chrome
run: |
cd ./jans-cedarling/bindings/cedarling_wasm
wasm-pack test --headless --chrome
- name: Run WASM using chrome
run: |
cd ./jans-cedarling/bindings/cedarling_wasm
wasm-pack test --headless --firefox
- name: Run Clippy
run: |
cd ./jans-cedarling
Expand Down

0 comments on commit 2f709f3

Please sign in to comment.