From 3faa263f86609a3033043c78ff4e18de2dbb2054 Mon Sep 17 00:00:00 2001 From: Ziggy Date: Sun, 5 Jun 2022 19:12:11 +0200 Subject: [PATCH] Run tests on primary branch and on pull requests, so we always know the state of the code --- .github/workflows/verify.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/verify.yml diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 0000000..dda7771 --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,22 @@ +name: Gradle Test + +on: + pull_request: + push: + branches: + - master + - cu + +jobs: + test: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v1 + with: + java-version: 17 + - name: Test with Gradle + run: ./gradlew --no-daemon test