Run tests on primary branch and on pull requests, so we always know the state of the code

This commit is contained in:
Ziggy
2022-06-05 19:12:26 +02:00
parent 393feb927f
commit 3faa263f86
+22
View File
@@ -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