Allow 'default filter' when (custom) function returns null #507
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: ci | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
build: [msrv, stable, nightly, macos, win-msvc] | |
include: | |
- build: msrv | |
os: ubuntu-latest | |
rust: 1.70.0 | |
- build: stable | |
os: ubuntu-latest | |
rust: stable | |
- build: nightly | |
os: ubuntu-latest | |
rust: nightly | |
- build: macos | |
os: macOS-latest | |
rust: stable | |
- build: win-msvc | |
os: windows-2019 | |
rust: stable | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
- name: Build System Info | |
run: rustc --version | |
- name: tests with default feature | |
run: cargo test | |
- name: tests without the default feature | |
run: cargo test --no-default-features | |
- name: Run basic example | |
run: cargo run --example basic | |
wasm: | |
name: wasm | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- run: cd docs/playground && cargo test | |
- run: cd docs/playground && wasm-pack test --headless --chrome | |
- run: cd docs/playground && wasm-pack test --headless --firefox |