fix(deps): update androidx.lifecycle to v2.8.7 (#202) #182
This file contains 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: android-unit-test | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: | |
- develop | |
env: | |
CI: "true" | |
jobs: | |
android-unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run tests | |
run: ./gradlew test | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v5 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: '**/build/test-results/**/TEST-*.xml' |