Files
embedded-hal/.github/workflows/test.yml
Diego Barrios Romero 23557a5445 Run tests also on CI
2020-10-08 09:24:07 +02:00

35 lines
761 B
YAML

on:
push:
branches: [ staging, trying, master ]
pull_request:
name: Test Suite
jobs:
ci-linux:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable]
include:
- rust: 1.36.0 # Higher than the MSRV due to dependencies.
TARGET: x86_64-unknown-linux-gnu
# Test nightly but don't fail
- rust: nightly
experimental: true
TARGET: x86_64-unknown-linux-gnu
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.TARGET }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test