diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2ed178d3..6698431a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -152,44 +152,3 @@ jobs: title: Code Coverage pass-emoji: 🟢 fail-emoji: 🔴 - - android-tests: - name: Android Tests - runs-on: ubuntu-latest - if: ${{ false }} # TODO Remove this line if/when we have Android Tests - needs: build - env: - USERNAME: ${{ github.actor }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - strategy: - matrix: - api-level: [ 26 ] - steps: - - name: Enable KVM - # https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/ - 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/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - - uses: gradle/actions/setup-gradle@v4 - with: - cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }} - - name: Copy CI gradle.properties - run: mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties - - name: Run Android Tests - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: ${{ matrix.api-level }} - arch: x86_64 - # Supported tasks per module - # :pillarbox-analytics:connectedDebugAndroidTest - # :pillarbox-core-business:connectedDebugAndroidTest - # :pillarbox-player:connectedDebugAndroidTest - # :pillarbox-ui:connectedDebugAndroidTest - script: ./gradlew :pillarbox-player:connectedDebugAndroidTest