Skip to content

Commit

Permalink
setup web drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
ranile committed Apr 30, 2022
1 parent 99fc79c commit 2243278
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/main-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,20 @@ jobs:
override: true
profile: minimal

- uses: browser-actions/setup-geckodriver@latest
- uses: nanasess/setup-chromedriver@v1

- uses: Swatinem/rust-cache@v1

- name: Install wasm-bindgen-cli
shell: bash
run: |
if [ ! -f "Cargo.lock" ]; then
cargo fetch
fi
VERSION=`cargo pkgid --frozen wasm-bindgen | cut -d ":" -f 3`
cargo install --version $VERSION wasm-bindgen-cli
- name: Run doctest
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -143,19 +155,6 @@ jobs:
VERSION=`cargo pkgid --frozen wasm-bindgen | cut -d ":" -f 3`
cargo install --version $VERSION wasm-bindgen-cli
- name: debug
run: |
geckodriver --version
echo ""
which geckodriver
chromedriver --version
echo ""
which chromedriver
echo ""
wasm-bindgen --version
echo ""
which wasm-bindgen
- name: Run tests - yew
run: |
cd packages/yew
Expand Down

0 comments on commit 2243278

Please sign in to comment.