mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-22 07:24:24 +01:00
WASM: run core crate tests on wasm (#799)
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -80,17 +80,13 @@ jobs:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Clippy
|
||||
working-directory: lib/wasm
|
||||
run: cargo clippy --target=wasm32-unknown-unknown -- -D warnings
|
||||
run: make wasm-clippy
|
||||
|
||||
build:
|
||||
name: Cargo Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install WASM target
|
||||
run: rustup target add wasm32-unknown-unknown
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
@@ -300,8 +296,7 @@ jobs:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Test WASM
|
||||
working-directory: lib/wasm
|
||||
run: wasm-pack test --headless --firefox
|
||||
run: make wasm-test
|
||||
|
||||
notification-plugin:
|
||||
name: Check notification plugin
|
||||
|
||||
Reference in New Issue
Block a user