diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 52dd69818..5bafcdb3c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -84,15 +84,20 @@ jobs: - name: checkout uses: actions/checkout@v4 + - name: Enable KVM + 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 instrumented tests uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }} target: ${{ matrix.target }} arch: x86_64 - profile: pixel_3_xl + profile: Nexus 6 ram-size: 4096M - disable-animations: true script: ./gradlew connectedOoniStableFullDebugAndroidTest - name: uploads test reports @@ -191,4 +196,4 @@ jobs: file: ooniDevFull/debug/app-ooni-dev-full-debug.apk - name: Write Summary run: | - echo "View this release in the Firebase console: ${{ steps.uploadArtifact.outputs.FIREBASE_CONSOLE_URI }}" >> $GITHUB_STEP_SUMMARY \ No newline at end of file + echo "View this release in the Firebase console: ${{ steps.uploadArtifact.outputs.FIREBASE_CONSOLE_URI }}" >> $GITHUB_STEP_SUMMARY