Test doesn't depend on python version but macOS arm64 can't build 3.6
This commit is contained in:
@@ -51,13 +51,13 @@ def test(capfd, tmp_path):
|
|||||||
add_env={
|
add_env={
|
||||||
"CIBW_BEFORE_BUILD": "python {project}/bin/before_build.py",
|
"CIBW_BEFORE_BUILD": "python {project}/bin/before_build.py",
|
||||||
"CIBW_TEST_COMMAND": "python {package}/test/run_tests.py",
|
"CIBW_TEST_COMMAND": "python {package}/test/run_tests.py",
|
||||||
# this shouldn't depend on the version of python, so build only CPython 3.6
|
# this shouldn't depend on the version of python, so build only CPython 3.8
|
||||||
"CIBW_BUILD": "cp36-*",
|
"CIBW_BUILD": "cp38-*",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
# check that the expected wheels are produced
|
# check that the expected wheels are produced
|
||||||
expected_wheels = [w for w in utils.expected_wheels("spam", "0.1.0") if "cp36" in w]
|
expected_wheels = [w for w in utils.expected_wheels("spam", "0.1.0") if "cp38" in w]
|
||||||
assert set(actual_wheels) == set(expected_wheels)
|
assert set(actual_wheels) == set(expected_wheels)
|
||||||
|
|
||||||
captured = capfd.readouterr()
|
captured = capfd.readouterr()
|
||||||
|
|||||||
Reference in New Issue
Block a user