From 50607e3be2851f6d99e2df2313a1274fb5a924b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Wed, 28 Apr 2021 18:14:10 +0200 Subject: [PATCH] add tests github workflow on master --- .github/workflows/tests.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..c820d2f --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,25 @@ +name: tests + +on: + push: + branches: + - master + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Install rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Check project + uses: actions-rs/cargo@v1 + with: + command: check + - name: Run tests + uses: actions-rs/cargo@v1 + with: + command: test