Skip to content

Commit 8158629

Browse files
committed
Disable Android cibuildwheel tests only on ubuntu-latest (see #5913, #5914)
1 parent a60b394 commit 8158629

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/tests-cibw.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ jobs:
7070
if: contains(matrix.runs-on, 'macos')
7171
run: echo "CIBW_TEST_COMMAND=" >> "$GITHUB_ENV"
7272

73+
# Temporarily disable Android tests on ubuntu-latest due to emulator issues.
74+
# See https://github.com/pybind/pybind11/issues/5913.
75+
- name: "NOTE: Android tests are disabled on ubuntu-latest"
76+
if: contains(matrix.runs-on, 'ubuntu')
77+
run: |
78+
echo "CIBW_TEST_COMMAND=" >> "$GITHUB_ENV"
79+
echo '::warning::Android cibuildwheel tests are disabled on ubuntu-latest (CIBW_TEST_COMMAND is empty). See issue 5913.'
80+
7381
# https://github.blog/changelog/2024-04-02-github-actions-hardware-accelerated-android-virtualization-now-available/
7482
- name: Enable KVM for Android emulator
7583
if: contains(matrix.runs-on, 'ubuntu')

0 commit comments

Comments
 (0)