-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (35 loc) · 852 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: tests
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
fail-fast: false
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
toolchain: [ stable, nightly ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Set up Rust toolchain
uses: actions-rs/[email protected]
with:
toolchain: ${{ matrix.toolchain }}
override: true
components: rustfmt, clippy
- name: Build
uses: actions-rs/[email protected]
with:
command: build
args: --verbose
- name: Test
uses: actions-rs/[email protected]
with:
command: test
args: --verbose --no-fail-fast