Skip to content

Commit f5ea58d

Browse files
committedJul 2, 2024·
Add unit tests to ci
1 parent d215f31 commit f5ea58d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed
 

‎.github/workflows/ci.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
name: Build
11+
name: Run tests
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
1414
steps:
@@ -17,4 +17,11 @@ jobs:
1717
with:
1818
distribution: 'zulu'
1919
java-version: '17'
20-
- run: ./gradlew build
20+
- name: Run unit tests
21+
run: ./gradlew testDebugUnitTest
22+
- name: Display unit test results
23+
uses: mikepenz/action-junit-report@v4
24+
if: always()
25+
with:
26+
check_name: 'Unit tests: Results'
27+
report_paths: '**/build/test-results/testDebugUnitTest/TEST-*.xml'

0 commit comments

Comments
 (0)
Please sign in to comment.