Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Urhengulas committed Aug 5, 2020
1 parent 61ab12c commit 511b2f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/js_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
include:
- conf: firefox
headless: --headless
driver: --geckodriver node_modules/geckodriver/bin/geckodriver
- conf: chrome
headless: --headless
fail-fast: false
Expand Down Expand Up @@ -103,12 +104,14 @@ jobs:
node-version: 14

# needed because of # https://github.com/rustwasm/wasm-bindgen/issues/2261
- run: npm install -g [email protected]
- if: matrix.conf == 'firefox'
working-directory: ${{ env.RAV1E_JS_DIR }}
run: npm install [email protected]

- name: Test ${{ matrix.conf }} (${{ matrix.headless }})
if: matrix.conf != 'build'
working-directory: ${{ env.RAV1E_JS_DIR }}
run: wasm-pack test --${{ matrix.conf }} ${{ matrix.headless }}
run: wasm-pack test --${{ matrix.conf }} ${{ matrix.headless }} ${{ matrix.driver }}

- name: Install and Build JavaScript
if: matrix.conf == 'build'
Expand Down

0 comments on commit 511b2f8

Please sign in to comment.