From 258c6aff241776978215ecc1a3c48b0c6391ede3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=A9=20Cassiop=C3=A9e=20Gauthier?= Date: Mon, 6 Dec 2021 14:26:14 -0500 Subject: [PATCH] Add GitHub Action for unit tests --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e35e0e7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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