ci(kotlin): remove permanently disabled job (#7538)

There is no reason to keep this around if we are not running it. We can
always look it up in Git's history.
This commit is contained in:
Thomas Eizinger
2024-12-17 18:59:50 +01:00
committed by GitHub
parent 8a1b6f26b4
commit f3c4d461ea

View File

@@ -74,67 +74,3 @@ jobs:
name: Android debug APK
path: |
./kotlin/android/app/build/outputs/apk/*
ui-test:
# FIXME
# Currently flaky, see https://github.com/firezone/firezone/pull/4178#issuecomment-2094815889
if: false
name: ui-test-api-${{ matrix.api-level }}
strategy:
fail-fast: false
matrix:
include:
# TODO: These currently time out and/or fail intermittently.
# https://github.com/ReactiveCircus/android-emulator-runner/issues/385
- api-level: 26
- api-level: 29
# Android SDK tools hardware accel is available only on Linux runners
runs-on: ubuntu-22.04
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: false
dotnet: true
haskell: true
large-packages: false
swap-storage: true
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-android
# Test on x86_64 only -- prevents compiling for other targets.
# See https://github.com/mozilla/rust-android-gradle?tab=readme-ov-file#specifying-local-targets
- run: echo 'rust.targets=x86' > local.properties
# See https://github.com/ReactiveCircus/android-emulator-runner?tab=readme-ov-file#running-hardware-accelerated-emulators-on-linux-runners
- 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: AVD cache
uses: actions/cache@v4
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."
working-directory: ./kotlin/android
- name: Run Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew --stacktrace connectedCheck
working-directory: ./kotlin/android