Skip to content

Commit af05da6

Browse files
committed
Completely remove the android-tests step, as it is no longer necessary
1 parent 8cd87be commit af05da6

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -152,44 +152,3 @@ jobs:
152152
title: Code Coverage
153153
pass-emoji: 🟢
154154
fail-emoji: 🔴
155-
156-
android-tests:
157-
name: Android Tests
158-
runs-on: ubuntu-latest
159-
if: ${{ false }} # TODO Remove this line if/when we have Android Tests
160-
needs: build
161-
env:
162-
USERNAME: ${{ github.actor }}
163-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164-
strategy:
165-
matrix:
166-
api-level: [ 26 ]
167-
steps:
168-
- name: Enable KVM
169-
# https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
170-
run: |
171-
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
172-
sudo udevadm control --reload-rules
173-
sudo udevadm trigger --name-match=kvm
174-
- uses: actions/checkout@v4
175-
- name: Set up JDK 17
176-
uses: actions/setup-java@v4
177-
with:
178-
java-version: '17'
179-
distribution: 'temurin'
180-
- uses: gradle/actions/setup-gradle@v4
181-
with:
182-
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
183-
- name: Copy CI gradle.properties
184-
run: mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties
185-
- name: Run Android Tests
186-
uses: reactivecircus/android-emulator-runner@v2
187-
with:
188-
api-level: ${{ matrix.api-level }}
189-
arch: x86_64
190-
# Supported tasks per module
191-
# :pillarbox-analytics:connectedDebugAndroidTest
192-
# :pillarbox-core-business:connectedDebugAndroidTest
193-
# :pillarbox-player:connectedDebugAndroidTest
194-
# :pillarbox-ui:connectedDebugAndroidTest
195-
script: ./gradlew :pillarbox-player:connectedDebugAndroidTest

0 commit comments

Comments
 (0)