Adding check.py to tests, rather than a simple generic assert on number of wheels

This commit is contained in:
Yannick Jadoul
2019-04-20 20:49:56 +02:00
parent 52e8f41b5c
commit 95d2086ced
9 changed files with 65 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
import glob
import subprocess
import sys
build_identifiers = subprocess.check_output([sys.executable, '-m', 'cibuildwheel', '--print-build-identifiers'], universal_newlines=True).strip().split('\n')
expected_identifiers = build_identifiers
built_wheels = glob.glob('wheelhouse/*.whl')
assert len(built_wheels) == len(expected_identifiers)