name: candentia-tests
on: push
jobs:
check:
name: Check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", 'windows-latest', "macos-latest"]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
test:
name: Test Suite
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", 'windows-latest', "macos-latest"]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test