-
Notifications
You must be signed in to change notification settings - Fork 4
79 lines (66 loc) · 1.54 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Tests
on: push
jobs:
linux-test:
runs-on: ubuntu-latest
services:
ftp_server:
image: adilsinho/ftp-server
ports:
- 20:20
- 21:21
- 2558:2558
- 2559:2559
steps:
- uses: actions/checkout@v1
- uses: hecrj/setup-rust-action@master
with:
rust-version: stable
- name: Build project
run: cargo build --verbose
- name: Test project
run: cargo test --verbose
env:
SERVER_HOSTNAME: localhost
nigthly-test:
runs-on: ubuntu-latest
services:
ftp:
image: adilsinho/ftp-server
ports:
- 20:20
- 21:21
- 2558:2558
- 2559:2559
steps:
- uses: actions/checkout@v1
- uses: hecrj/setup-rust-action@master
with:
rust-version: nightly
- name: Build project
run: cargo build --verbose
- name: Test project
run: cargo test --verbose
env:
SERVER_HOSTNAME: localhost
legacy-test:
runs-on: ubuntu-latest
services:
ftp_server:
image: adilsinho/ftp-server
ports:
- 20:20
- 21:21
- 2558:2558
- 2559:2559
steps:
- uses: actions/checkout@v1
- uses: hecrj/setup-rust-action@master
with:
rust-version: 1.63.0
- name: Build project
run: cargo build --verbose
- name: Test project
run: cargo test --verbose
env:
SERVER_HOSTNAME: localhost