release v0.1.0 #16
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: Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install latest stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Build & test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --workspace --all-features --no-fail-fast | |
# wasm-testing: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Install rust nightly | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: nightly | |
# override: true | |
# - uses: Swatinem/rust-cache@v2 | |
# - uses: jetli/[email protected] | |
# - name: Add wasm32 target | |
# run: rustup target add wasm32-unknown-unknown | |
# - name: Test in headless Chrome | |
# run: wasm-pack test --headless --chrome |