Update dependency androidx.lifecycle:lifecycle-process to v2.11.0 #1037
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: distribution checks | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - gradle/** | |
| - gradle-plugin/** | |
| - distribution/** | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - gradle/** | |
| - gradle-plugin/** | |
| - distribution/** | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: . | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '21' | |
| distribution: 'adopt' | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Generate target and test APK | |
| run: ./gradlew :distribution:sample:app:assembleDebug :distribution:sample:app:assembleAndroidTest :distribution:integration:assembleAndroidTest :distribution:integration:assembleDebug | |
| env: | |
| EMERGE_DISTRIBUTION_API_KEY: ${{ secrets.EMERGE_DISTRIBUTION_API_KEY }} | |
| PR_SHA: ${{ github.event.pull_request.head.sha }} | |
| PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| - name: Run tests | |
| uses: emulator-wtf/run-tests@v0 | |
| with: | |
| api-token: ${{ secrets.EW_API_TOKEN }} | |
| app: ./distribution/integration/build/outputs/apk/debug/integration-debug.apk | |
| test: ./distribution/integration/build/outputs/apk/androidTest/debug/integration-debug-androidTest.apk | |
| outputs-dir: build/test-results | |
| devices: | | |
| model=NexusLowRes,version=21 | |
| model=Pixel2,version=23 | |
| - name: Publish test report | |
| uses: mikepenz/action-junit-report@v5 | |
| if: always() # always run even if the tests fail | |
| with: | |
| report_paths: 'build/test-results/**/*.xml' | |
| minsdk-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: . | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '21' | |
| distribution: 'adopt' | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Generate target and test APK | |
| run: ./gradlew :distribution:distribution:test :distribution:sample:app:assembleDebug :distribution:sample:app:assembleAndroidTest | |
| env: | |
| EMERGE_DISTRIBUTION_API_KEY: ${{ secrets.EMERGE_DISTRIBUTION_API_KEY }} | |
| PR_SHA: ${{ github.event.pull_request.head.sha }} | |
| PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| - name: Publish test report | |
| uses: mikepenz/action-junit-report@v5 | |
| if: always() # always run even if the tests fail | |
| with: | |
| report_paths: 'build/test-results/**/*.xml' |