Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,11 @@ jobs:
- run: cargo fmt --manifest-path pg-${{ matrix.workspace }}/Cargo.toml --all -- --check

test-wasm-browsers:
name: Run wasm tests in browsers
name: Run wasm tests in browsers (Chrome, Firefox)
strategy:
matrix:
browser: [chrome, firefox]
os: [ubuntu-latest]
include:
- browser: safari
os: macos-latest
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.browser == 'safari' }}
runs-on: ubuntu-latest
env:
WASM_BINDGEN_TEST_TIMEOUT: 120
steps:
Expand All @@ -68,3 +63,15 @@ jobs:
- if: ${{ matrix.browser == 'firefox' }}
run: sudo apt update && sudo apt install firefox
- run: wasm-pack test --release --headless --${{ matrix.browser }} ./pg-wasm

test-wasm-safari:
name: Run wasm tests in Safari
runs-on: macos-latest
continue-on-error: true
env:
WASM_BINDGEN_TEST_TIMEOUT: 120
steps:
- uses: actions/checkout@v2
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: wasm-pack test --release --headless --safari ./pg-wasm
Loading