feat: add previews for the list screen states, key rows and the theme… #1626
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: Android CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ main ] | |
| # Cancel superseded runs for the same PR/branch | |
| concurrency: | |
| group: android-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: kotlinUpgradeYarnLock | |
| run: ./gradlew kotlinUpgradeYarnLock | |
| - name: Build android app | |
| run: ./gradlew :app:assembleDebug | |
| - name: Run Unit Tests | |
| run: ./gradlew :app:test | |
| androidTest: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Android Instrumentation Tests | |
| uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| api-level: 26 | |
| arch: x86 | |
| disable-animations: true | |
| script: ./gradlew app:connectedAndroidTest |