[Refactor] Enable predictive back in Android 14 onwards #1735
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 | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - 'AppManager-*' | |
| paths-ignore: | |
| - 'fastlane/**' | |
| - 'scripts/**' | |
| - '*.md' | |
| pull_request: | |
| branches: | |
| - 'master' | |
| - 'AppManager-*' | |
| paths-ignore: | |
| - 'fastlane/**' | |
| - 'scripts/**' | |
| - '*.md' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '21' | |
| cache: 'gradle' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run tests | |
| run: ./gradlew test | |
| - name: Upload test results | |
| if: ${{ always() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: unitTestResults | |
| path: ./app/build/reports/tests/testDebugUnitTest/ |