File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3+ import sys
34from pathlib import Path
45
6+ import pytest
7+
58DIR = Path (__file__ ).parent
69PROJECT_DIR = DIR / "packages" / "custom_cmake"
710
@@ -10,6 +13,11 @@ def test_ep(isolated):
1013 isolated .install ("hatchling" , "scikit-build-core[pyproject]" )
1114 isolated .install (PROJECT_DIR / "extern" , isolated = False )
1215 isolated .install (PROJECT_DIR , "-v" , isolated = False )
16+
17+ if sys .platform .startswith ("win" ):
18+ # TODO: maybe figure out how to make this work on windows?
19+ pytest .skip ("Can't run script on Windows" )
20+
1321 script = isolated .run ("script1" , capture = True ).strip ()
1422 pysys = isolated .execute ("import sys; print(sys.executable)" ).strip ()
1523 contents = Path (script ).read_text ()
You can’t perform that action at this time.
0 commit comments