Skip to content

Add CI tests

Add CI tests #2

Workflow file for this run

name: tests
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
testing:
name: testing-${{ matrix.toolchain }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
toolchain:
- stable
os:
- ubuntu-latest
- windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Run cargo test in release mode
uses: actions-rs/cargo@v1
with:
command: test
args: --all --release