From 4a3d7c8d8b6c6c3080561aa42849e3988f52f8f9 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Tue, 6 Oct 2020 17:09:06 +0100 Subject: [PATCH] automate rust tests using github actions Signed-off-by: Gregory Hill --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e319604 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +on: [push, pull_request] + +name: Nightly Tests + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v2 + + - name: Install nightly toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + override: true + + - name: Run cargo test + uses: actions-rs/cargo@v1 + with: + command: test