Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Update dependency androidx.test.ext:junit to v1.2.1 #748

Update dependency androidx.test.ext:junit to v1.2.1

Update dependency androidx.test.ext:junit to v1.2.1 #748

Workflow file for this run

name: CI
on:
push:
branches: [ trunk ]
pull_request:
branches: [ trunk ]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: zulu
cache: 'gradle'
- name: Unit Tests
run: ./gradlew testDebugUnitTest
android-tests:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- 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: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: zulu
cache: 'gradle'
- name: Android Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 31
arch: x86_64
disable-animations: true
script: ./gradlew connectedDebugAndroidTest