From 332968f5c41cd0467b372b0d379994fe35a242d8 Mon Sep 17 00:00:00 2001 From: Chris Carlon Date: Thu, 3 Oct 2024 16:11:55 +0100 Subject: [PATCH] set up git action for cargo test --- .github/workflows/testing_action.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/testing_action.yml diff --git a/.github/workflows/testing_action.yml b/.github/workflows/testing_action.yml new file mode 100644 index 0000000..234254d --- /dev/null +++ b/.github/workflows/testing_action.yml @@ -0,0 +1,17 @@ +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Run tests + run: cargo test