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:
|
2019-12-10 17:53:26 +01:00
|
|
|
os: [ubuntu-latest, macos-latest]
|
2019-12-07 11:57:33 +01:00
|
|
|
|
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
|
2020-01-22 14:30:09 +01:00
|
|
|
args: --locked --release
|