| 1 | name: Tests |
| 2 | |
| 3 | on: [push] |
| 4 | |
| 5 | jobs: |
| 6 | build-latest: |
| 7 | name: Test on Latest |
| 8 | runs-on: ubuntu-latest |
| 9 | |
| 10 | steps: |
| 11 | - uses: actions/checkout@v1 |
| 12 | - uses: actions-rs/toolchain@v1 |
| 13 | with: |
| 14 | toolchain: stable |
| 15 | profile: minimal |
| 16 | override: true |
| 17 | - name: Test |
| 18 | run: make test |
| 19 | |
| 20 | build-stable: |
| 21 | name: Build on 1.43.0 |
| 22 | runs-on: ubuntu-latest |
| 23 | |
| 24 | steps: |
| 25 | - uses: actions/checkout@v1 |
| 26 | - uses: actions-rs/toolchain@v1 |
| 27 | with: |
| 28 | toolchain: 1.43.0 |
| 29 | profile: minimal |
| 30 | override: true |
| 31 | - name: Test |
| 32 | run: cargo check --all-features |
| 33 | |
| 34 | miri-test-latest: |
| 35 | name: Miri Test |
| 36 | runs-on: ubuntu-latest |
| 37 | |
| 38 | steps: |
| 39 | - uses: actions/checkout@v1 |
| 40 | - uses: actions-rs/toolchain@v1 |
| 41 | with: |
| 42 | toolchain: nightly |
| 43 | profile: minimal |
| 44 | components: miri |
| 45 | override: true |
| 46 | - name: Miri Test |
| 47 | run: make miri-test |