Skip to content

Merge pull request #6 from Grigoriym/feature/details_previews #7

Merge pull request #6 from Grigoriym/feature/details_previews

Merge pull request #6 from Grigoriym/feature/details_previews #7

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Decode google-services.json
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo "$GOOGLE_SERVICES_JSON" | base64 --decode > app/google-services.json
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Run Unit Tests
run: ./gradlew test