Skip to content

Fix CI

Fix CI #55

Workflow file for this run

name: Test
on:
push:
branches-ignore: master
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
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: Tests
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32
with:
api-level: 30
script: |
./gradlew test
./gradlew connectedAndroidTest
- name: Archive Tests results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: |
app/build/reports/androidTests/connected
app/build/reports/tests
retention-days: 7