-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (29 loc) · 886 Bytes
/
tests.yaml
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
on: [push, pull_request]
name: Tests
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- name: install deps
run: sudo apt install nasm cmake protobuf-compiler libxkbcommon-dev
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
with:
workspaces: |
mm-server
mm-client
mm-protocol
- name: server cargo clippy
run: (cd mm-server && cargo clippy)
- name: client cargo clippy
run: (cd mm-client && cargo clippy)
- name: protocol cargo clippy
run: (cd mm-protocol && cargo clippy)
- name: server tests
run: (cd mm-server && cargo test)
- name: client tests
run: (cd mm-client && cargo test)
- name: protocol tests
run: (cd mm-protocol && cargo test)