NEW: end-to-end tests for details screen, profile updates, and liked … #89
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 Unit Tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Run Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Create google-services.json | |
| run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > app/google-services.json | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| cache: 'gradle' | |
| - name: Grant execute permission for Gradle | |
| run: chmod +x gradlew | |
| - name: Run unit tests | |
| run: ./gradlew test |