-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 1004 Bytes
/
unit-test.yml
File metadata and controls
38 lines (31 loc) · 1004 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Unit tests
on:
push:
branches: ["**"]
concurrency:
group: unit-test-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout Split Tests Java
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5
- name: Gradle check
run: ./gradlew check
- name: Publish test report
uses: mikepenz/action-junit-report@49b2ca06f62aa7ef83ae6769a2179271e160d8e4 # v6
if: always()
with:
annotate_only: true
detailed_summary: true
job_name: unit-test-report
report_paths: '**/build/test-results/test/TEST-*.xml'