Skip to content

Remove useless code #64

Remove useless code

Remove useless code #64

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
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Tests
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32
with:
api-level: 29
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