feat: Migrate schedule download #204
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: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| instrumentation-tests: | |
| if: github.event.pull_request.draft == false | |
| runs-on: [ self-hosted, Android ] | |
| steps: | |
| - name: Checkout the code | |
| uses: actions/checkout@v5.0.0 | |
| with: | |
| token: ${{ github.token }} | |
| submodules: recursive | |
| # Setup Gradle and run Build | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Clean gradle cache | |
| run: ./gradlew clean | |
| - name: Build with Gradle | |
| run: ./gradlew build --stacktrace | |
| # Run tests | |
| - name: Run Unit tests | |
| run: ./gradlew testDebugUnitTest --stacktrace |