Skip to content

Commit

Permalink
Add unit tests to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
strangesource committed Jul 2, 2024
1 parent d215f31 commit f5ea58d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
name: Build
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -17,4 +17,11 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
- run: ./gradlew build
- name: Run unit tests
run: ./gradlew testDebugUnitTest
- name: Display unit test results
uses: mikepenz/action-junit-report@v4
if: always()
with:
check_name: 'Unit tests: Results'
report_paths: '**/build/test-results/testDebugUnitTest/TEST-*.xml'

0 comments on commit f5ea58d

Please sign in to comment.