Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,13 @@ jobs:
cache-encryption-key: ${{ secrets.gradle_encryption_key }}
cache-read-only: true

- name: Run lint
run: ./gradlew --build-cache --configuration-cache lintDebug
- name: Run unit tests
run: ./gradlew --build-cache --configuration-cache testDebugUnitTest

test_on_emulator:
needs: compile
if: ${{ !cancelled() }} # even if compile didn't run (because not on main branch)
name: Instrumented tests
name: Lint / Instrumented tests
runs-on: ubuntu-latest
steps:
- uses: gradle/actions/setup-gradle@v4
Expand All @@ -66,6 +64,9 @@ jobs:
distribution: temurin
java-version: 21

- name: Run lint
run: ./gradlew --build-cache --configuration-cache lintDebug

- 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
Expand Down