Add GitHub Action for unit tests

This commit is contained in:
Zoé Cassiopée Gauthier 2021-12-06 14:26:14 -05:00
parent 846d00baa4
commit 258c6aff24

18
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,18 @@
on: [push]
name: Unit tests
jobs:
test:
name: Run test suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test