Skip to content

Commit

Permalink
build: add tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmarc committed Apr 25, 2024
1 parent 1607a54 commit 49c944f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
jobs:
check:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
- uses: swatinem/rust-cache@v2
- 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)

0 comments on commit 49c944f

Please sign in to comment.