Skip to content

Update Gradle along with some other dependencies #46

Update Gradle along with some other dependencies

Update Gradle along with some other dependencies #46

Workflow file for this run

name: Build
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Make gradlew executable
run: chmod +x gradlew
- name: Create local.properties file
env:
storePassword: ${{ secrets.STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
run: |
echo storePassword=$storePassword >> ./local.properties
echo keyPassword=$keyPassword >> ./local.properties
- name: Set up Android SDK
uses: android-actions/setup-android@v2
- name: Run unit tests
run: ./gradlew test
- name: Run instrumentation tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
arch: x86
profile: Nexus 6
avd-name: test
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew connectedCheck
- name: Build with Gradle
run: ./gradlew build