From 27091db53bb011baa98b15cc304f14b501ebe798 Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Thu, 12 Jan 2023 03:43:08 -0500 Subject: [PATCH] Create rust-tests.yml (#690) This will run tests on every push and PR to master. --- .github/workflows/rust-tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/rust-tests.yml diff --git a/.github/workflows/rust-tests.yml b/.github/workflows/rust-tests.yml new file mode 100644 index 0000000..c93aadf --- /dev/null +++ b/.github/workflows/rust-tests.yml @@ -0,0 +1,22 @@ +name: Tests + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose