disabling binary tests for now on windows

This commit is contained in:
Eric 2023-06-05 15:46:17 -07:00
parent 906c7dd889
commit 71ed8bb546
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98

View File

@ -14,6 +14,12 @@ if TYPE_CHECKING:
def test_babase_imports() -> None:
"""Testing."""
import subprocess
import platform
# Currently skipping this on Windows, as we can't assemble a
# complete build there currently (can only compile binaries).
if platform.system() == 'Windows':
return
# Put together the headless binary we use for testing.
subprocess.run(['make', 'cmake-server-build'], check=True)