From 336fba875a0d56f2bee5073df963aba5f509ee83 Mon Sep 17 00:00:00 2001 From: Joe Nace Date: Fri, 8 Dec 2023 21:27:33 -0500 Subject: [PATCH] added a github workflow to run the unit tests on pull requests and pushes to `main` --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2e442fb --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Run Tests + +on: + push: + branches: [ main ] + + pull_request: + branches: [ main ] + + workflow_dispatch: + +jobs: + Run-Tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout the code + uses: actions/checkout@v4 + + - name: Run the tests + run: ./gradlew test