Skip to content

Update

Update #280

Workflow file for this run

name: unit-tests
on:
pull_request:
branches:
- '**'
push:
paths-ignore:
- '*.md'
branches:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
check-test-and-lint:
name: Run unit tests
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: 0
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
- name: Install WASM target
run: rustup target add wasm32-unknown-unknown
- name: Run Unit Test Suite
uses: actions-rs/cargo@v1
with:
command: test
args: --lib