From 71d8b18c8c05b037da9cf8febf7b475c496135df Mon Sep 17 00:00:00 2001 From: Krish <68506145+KrishAgarwal2811@users.noreply.github.com> Date: Sat, 15 Oct 2022 06:54:04 +0000 Subject: [PATCH] feat: workflow to run tests on PRs and push to master --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..f57a909 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: test + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build + - name: Run tests + run: cargo test