2019-11-21 11:18:54 +01:00
|
|
|
---
|
|
|
|
on: [pull_request]
|
|
|
|
|
2019-12-07 11:57:33 +01:00
|
|
|
name: Test binaries with cargo test
|
2019-11-21 11:18:54 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
2019-12-07 11:57:33 +01:00
|
|
|
name: Test on ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
2019-11-21 11:18:54 +01:00
|
|
|
steps:
|
2019-12-07 11:57:33 +01:00
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
profile: minimal
|
|
|
|
toolchain: stable
|
|
|
|
override: true
|
|
|
|
- name: Run cargo test
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: test
|
|
|
|
args: --locked
|