-
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (24 loc) · 871 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: "test"
on: ["push", "pull_request", "workflow_dispatch"]
jobs:
test:
runs-on: "ubuntu-latest"
strategy:
matrix:
java: ["8", "11", "17", "21"]
distribution: ["temurin", "semeru"]
name: "Java ${{ matrix.java }} (${{ matrix.distribution }})"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Validate Gradle Wrapper"
uses: "gradle/wrapper-validation-action@v3"
- name: "Set up JDKs"
uses: "actions/setup-java@v4"
with:
java-version: "${{ matrix.java }}"
distribution: "${{ matrix.distribution }}"
- name: "Set Gradle Permissions"
run: "chmod +x ./gradlew"
- name: "Run Tests"
run: "./gradlew test"