Skip to content

NEW: end-to-end tests for details screen, profile updates, and liked … #89

NEW: end-to-end tests for details screen, profile updates, and liked …

NEW: end-to-end tests for details screen, profile updates, and liked … #89

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