Re-enable Android tests in CIBW workflow (#6001)

* Re-enable Android tests in CIBW workflow

* Skip subprocess tests on Android

* Remove Android workarounds no longer necessary with current cibuildwheel version

* Skip more subprocess tests on Android
This commit is contained in:
Malcolm Smith
2026-03-02 20:03:46 +00:00
committed by GitHub
parent 9d8c57fee2
commit cd538ed118
4 changed files with 8 additions and 23 deletions

View File

@@ -168,6 +168,9 @@ ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK = (*ALL_BASIC_TESTS, _intentional_dead
def _run_in_process(target, *args, **kwargs):
if env.ANDROID or env.IOS or sys.platform.startswith("emscripten"):
pytest.skip("Requires subprocess support")
test_fn = target if len(args) == 0 else args[0]
# Do not need to wait much, 10s should be more than enough.
timeout = 0.1 if test_fn is _intentional_deadlock else 10