Skip to content

Tests

Tests #13

Workflow file for this run

on: [push, pull_request]
name: Tests
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: swatinem/rust-cache@v2
with:
workspaces: |
mm-server
mm-client
mm-protocol
- name: install deps
run: sudo apt install nasm cmake
- uses: actions/checkout@v2
- 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)