Repository navigation
chore(evhardware): track master 086e0a8 (README, comment wording) #115
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| # JVM unit tests — no emulator, no vehicle. Blocking: a red test must never | |
| # reach an APK that gets installed in a car. | |
| on: | |
| push: | |
| branches: [master, "feat/**", "feature/**"] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit-tests: | |
| name: Unit tests (JVM) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Run unit tests | |
| run: | | |
| chmod +x gradlew | |
| ./gradlew :evhardware:testDebugUnitTest testStableDebugUnitTest testUnstableDebugUnitTest --no-daemon | |
| - name: Upload test reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: unit-test-reports | |
| path: | | |
| app/build/reports/tests/ | |
| EVHardware/lib/build/reports/tests/ |