NEW: profile screen end-to-end test #76
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 Instrumentation Tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Create google-services.json | |
| run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > app/google-services.json | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Grant execute permission to Gradle wrapper | |
| run: chmod +x gradlew | |
| - name: Build App with Gradle | |
| run: ./gradlew build | |
| - name: Build Android Test APK | |
| run: ./gradlew assembleAndroidTest | |
| - name: Run tests on Firebase Test Lab | |
| uses: asadmansr/Firebase-Test-Lab-Action@v1.0 | |
| with: | |
| arg-spec: 'android-device.yml:android-pixel-4' | |
| env: | |
| SERVICE_ACCOUNT: ${{ secrets.FIREBASE_TEST_LAB_SERVICE_ACCOUNT }} |