aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/testing.yml
blob: f2616d9069b569cb00a625e89c72e50e2a211bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Testing
on: [push, pull_request]

jobs:
  test:
    strategy:
      matrix:
        os:
          - ubuntu
          - windows
          - macos
        rust:
          - nightly
          - stable
    name: Test Rust ${{ matrix.rust }} on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}-latest
    steps:
      - uses: actions/checkout@v2
      - uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: ${{ matrix.rust }}
      - run: cargo test --all-features