tests/selection-traversal.rs: fix test_selection_add_panic
#146
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: wasm ci | |
on: | |
push: | |
branches: [ "main", "feature/*" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER: wasm-bindgen-test-runner | |
jobs: | |
test-wasm: | |
runs-on: [self-hosted, linux, x64] | |
#runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install stable rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
targets: wasm32-unknown-unknown | |
- name: Install wasm-bindgen-cli | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: wasm-bindgen-cli | |
- name: Run tests | |
run: cargo test --target wasm32-unknown-unknown --all | |
- name: Run tests with hashbrown | |
run: cargo test --target wasm32-unknown-unknown --features "hashbrown" |