Skip to content

Bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 #96

Bump com.android.tools.build:gradle from 8.4.1 to 8.5.0

Bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 #96

Workflow file for this run

name: dependabot PR CI
on:
pull_request:
branches:
- 'main'
workflow_dispatch:
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set config files
run: echo ${{ secrets.DEBUG_GOOGLE_SERVICES_JSON }} | base64 -d > androidApp/src/debug/google-services.json
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Run shared Test
run: ./gradlew :shared:testDebugUnitTest
- name: Run Android UI Test
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 32
target: 'google_apis'
arch: 'x86_64'
profile: 'pixel'
disable-animations: false
script: ./gradlew :androidApp:connectedCheck
- name: Upload UI test report
uses: actions/upload-artifact@v2
with:
name: instrumentation_test_report
path: androidApp/build/reports/androidTests/connected/debug/