aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-06-11 10:33:08 +0100
committerMichael Williamson <mike@zwobble.org>2024-06-11 10:36:57 +0100
commit10155eb9e00d58d8a13c37930024ec4c8e1eaaeb (patch)
tree9c220aee308b6324c7672fc333c3cb56ce626d2d /.github
parent51b957b8de52fda313492a9b95550d41c9394ee9 (diff)
Run tests on GitHub Actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
new file mode 100644
index 0000000..a00f7e0
--- /dev/null
+++ b/.github/workflows/tests.yml
@@ -0,0 +1,24 @@
+name: Tests
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+
+ - uses: actions/checkout@v4
+
+ - name: Use Java 8
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '8'
+
+ - name: Use Python 3.11
+ uses: actions/setup-python@v5
+ with:
+ python-version: '3.11'
+
+ - run: mvn test package