-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (43 loc) · 1.16 KB
/
tests.yml
File metadata and controls
46 lines (43 loc) · 1.16 KB
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
name: 'Unit and Integration Tests'
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
linter:
name: Check Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install tools
run: |
rustup set profile minimal
rustup toolchain update nightly --no-self-update
rustup default nightly
rustup component add clippy
cargo install --force cargo-make
rustup show
cargo --version
cargo make --version
cargo clippy --version
- run: cargo make clippy
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install tools
run: |
rustup set profile minimal
rustup toolchain update nightly --no-self-update
rustup default nightly
cargo install --force cargo-make
rustup show
cargo --version
cargo make --version
- name: Install QEMU
run: |
sudo apt update
sudo apt install qemu-system-x86
- name: Run Tests
run: |
cargo make test --verbose