-
Notifications
You must be signed in to change notification settings - Fork 23
50 lines (45 loc) · 1.06 KB
/
nightly-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
40
41
42
43
44
45
46
47
48
49
50
name: Nightly Tests
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: ["nightly-test"]
push:
branches:
- nightly-test
env:
RUST_TEST_THREADS: 1
jobs:
nightly-test:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
test_suite:
- compat
- install
- upgrade
- project
steps:
- uses: actions/checkout@master
- name: Install musl-tools
run: "sudo apt-get install musl-tools"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.58.0
target: x86_64-unknown-linux-musl
default: true
- name: Docker Permissions
run: sudo chmod a+rw /var/run/docker.sock
- uses: actions-rs/cargo@v1
with:
command: test
args: |
--target=x86_64-unknown-linux-musl
--test=github-nightly
--features=github_nightly
--
${{ matrix.test_suite }}::