-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (37 loc) · 979 Bytes
/
test.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
name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
stable:
name: Run tests on stable rust
runs-on: ubuntu-latest
steps:
- name: Get latest stable Rust
run: rustup toolchain install stable --profile minimal
- name: Check out source
uses: actions/checkout@v2
- name: Run tests
run: cargo test --all
beta:
name: Run tests on beta rust
runs-on: ubuntu-latest
steps:
- name: Get latest beta Rust
run: rustup toolchain install beta --profile minimal
- name: Check out source
uses: actions/checkout@v2
- name: Run tests
run: cargo test --all
nightly:
name: Run tests on nightly rust
runs-on: ubuntu-latest
steps:
- name: Get latest nightly Rust
run: rustup toolchain install nightly --profile minimal
- name: Check out source
uses: actions/checkout@v2
- name: Run tests
run: cargo test --all