Skip to content

Commit 28ecc9b

Browse files
authored
Disable Android cibuildwheel tests only on ubuntu-latest (#5915)
* [skip ci] Re-enable Android cibuildwheel tests (refs #5913) * Disable Android cibuildwheel tests only on ubuntu-latest (see #5913, #5914) * [skip ci] Refer to PR 5914 instead of issue 5913
1 parent 1fa9fad commit 28ecc9b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/tests-cibw.yml

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

73-
# NOTE: Android cibuildwheel tests are currently disabled.
74-
# See https://github.com/pybind/pybind11/issues/5913.
75-
- name: "NOTE: Android tests are disabled"
76-
run: echo '::warning::Android cibuildwheel tests are disabled (CIBW_TEST_COMMAND is empty). See issue 5913.'
73+
# Temporarily disable Android tests on ubuntu-latest due to emulator issues.
74+
# See https://github.com/pybind/pybind11/pull/5914.
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 PR 5914.'
7780
7881
# https://github.blog/changelog/2024-04-02-github-actions-hardware-accelerated-android-virtualization-now-available/
7982
- name: Enable KVM for Android emulator
@@ -88,6 +91,5 @@ jobs:
8891
- uses: pypa/[email protected]
8992
env:
9093
CIBW_PLATFORM: android
91-
CIBW_TEST_COMMAND: "" # Temporarily disable Android tests; emulator setup is broken (see #5913).
9294
with:
9395
package-dir: tests

0 commit comments

Comments
 (0)