2024-09-25 07:36:33 +00:00
|
|
|
name: "Quality Check"
|
|
|
|
|
|
|
|
on:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
jobs:
|
2024-09-25 08:34:06 +00:00
|
|
|
test:
|
2024-09-25 08:36:03 +00:00
|
|
|
name: "Tests"
|
2024-09-25 07:36:33 +00:00
|
|
|
runs-on: "ubuntu-latest"
|
|
|
|
container:
|
2024-09-25 07:40:55 +00:00
|
|
|
image: "cimg/openjdk:21.0-node"
|
2024-09-25 07:36:33 +00:00
|
|
|
steps:
|
|
|
|
- name: "Checkout"
|
|
|
|
uses: actions/checkout@v3
|
2024-09-25 08:40:41 +00:00
|
|
|
- name: Setup Gradle
|
|
|
|
uses: gradle/gradle-build-action@v2
|
2024-09-25 07:36:33 +00:00
|
|
|
- name: "Check"
|
2024-09-25 08:36:03 +00:00
|
|
|
run: gradle testClasses
|
2024-09-25 07:36:33 +00:00
|
|
|
- name: "Stop Gradle"
|
2024-09-25 08:34:06 +00:00
|
|
|
run: gradle --stop
|
|
|
|
checkstyle:
|
2024-09-25 08:36:03 +00:00
|
|
|
name: "Checkstyle Main"
|
2024-09-25 08:34:06 +00:00
|
|
|
runs-on: "ubuntu-latest"
|
|
|
|
container:
|
|
|
|
image: "cimg/openjdk:21.0-node"
|
|
|
|
steps:
|
|
|
|
- name: "Checkout"
|
|
|
|
uses: actions/checkout@v3
|
2024-09-25 08:40:41 +00:00
|
|
|
- name: Setup Gradle
|
|
|
|
uses: gradle/gradle-build-action@v2
|
2024-09-25 08:34:06 +00:00
|
|
|
- name: "Check"
|
|
|
|
run: gradle check
|
|
|
|
- name: "Stop Gradle"
|
|
|
|
run: gradle --stop
|