tests: mark and add skips (#2524)
* tests: mark and add skips Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix comment --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
This commit is contained in:
co-authored by
Matthieu Darbois
parent
55fcb25edc
commit
140bc1a96a
@@ -12,6 +12,12 @@ from cibuildwheel.ci import CIProvider, detect_ci_provider
|
||||
|
||||
from . import test_projects, utils
|
||||
|
||||
pytestmark = pytest.mark.ios
|
||||
|
||||
CIBW_PLATFORM = os.environ.get("CIBW_PLATFORM", "ios")
|
||||
if CIBW_PLATFORM != "ios":
|
||||
pytest.skip(f"{CIBW_PLATFORM=}", allow_module_level=True)
|
||||
|
||||
basic_project_files = {
|
||||
"tests/test_platform.py": f"""
|
||||
import platform
|
||||
|
||||
Reference in New Issue
Block a user