@@ -432,13 +432,17 @@ jobs:
432432 run : python utils/setup_test_env.py verify
433433 - name : Compile libraries
434434 run : yggcompile
435- - if : runner.os == 'Windows'
436- name : Run cmake test in command prompt
437- run : ' cmake -h
438-
439- pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
440-
441- '
435+ - if : runner.os == 'Windows' && (matrix.install-method == 'conda' || matrix.install-method
436+ == 'mamba')
437+ name : Run cmake test in command prompt (CONDA)
438+ run : conda activate test && pytest --import-mode=importlib --ci --cov-append
439+ --nocapture tests/drivers/test_CMakeModelDriver.py
440+ shell : cmd /C CALL {0}
441+ timeout-minutes : 180
442+ - if : runner.os == 'Windows' && matrix.install-method != 'conda' && matrix.install-method
443+ != 'mamba'
444+ name : Run cmake test in command prompt (PIP)
445+ run : pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
442446 shell : cmd /C CALL {0}
443447 timeout-minutes : 180
444448 - continue-on-error : true
@@ -779,13 +783,17 @@ jobs:
779783 run : python utils/setup_test_env.py verify
780784 - name : Compile libraries
781785 run : yggcompile
782- - if : runner.os == 'Windows'
783- name : Run cmake test in command prompt
784- run : ' cmake -h
785-
786- pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
787-
788- '
786+ - if : runner.os == 'Windows' && (matrix.install-method == 'conda' || matrix.install-method
787+ == 'mamba')
788+ name : Run cmake test in command prompt (CONDA)
789+ run : conda activate test && pytest --import-mode=importlib --ci --cov-append
790+ --nocapture tests/drivers/test_CMakeModelDriver.py
791+ shell : cmd /C CALL {0}
792+ timeout-minutes : 180
793+ - if : runner.os == 'Windows' && matrix.install-method != 'conda' && matrix.install-method
794+ != 'mamba'
795+ name : Run cmake test in command prompt (PIP)
796+ run : pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
789797 shell : cmd /C CALL {0}
790798 timeout-minutes : 180
791799 - continue-on-error : true
@@ -1118,13 +1126,17 @@ jobs:
11181126 run : python utils/setup_test_env.py verify
11191127 - name : Compile libraries
11201128 run : yggcompile
1121- - if : runner.os == 'Windows'
1122- name : Run cmake test in command prompt
1123- run : ' cmake -h
1124-
1125- pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
1126-
1127- '
1129+ - if : runner.os == 'Windows' && (matrix.install-method == 'conda' || matrix.install-method
1130+ == 'mamba')
1131+ name : Run cmake test in command prompt (CONDA)
1132+ run : conda activate test && pytest --import-mode=importlib --ci --cov-append
1133+ --nocapture tests/drivers/test_CMakeModelDriver.py
1134+ shell : cmd /C CALL {0}
1135+ timeout-minutes : 180
1136+ - if : runner.os == 'Windows' && matrix.install-method != 'conda' && matrix.install-method
1137+ != 'mamba'
1138+ name : Run cmake test in command prompt (PIP)
1139+ run : pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
11281140 shell : cmd /C CALL {0}
11291141 timeout-minutes : 180
11301142 - continue-on-error : true
@@ -1440,13 +1452,17 @@ jobs:
14401452 run : python utils/setup_test_env.py verify
14411453 - name : Compile libraries
14421454 run : yggcompile
1443- - if : runner.os == 'Windows'
1444- name : Run cmake test in command prompt
1445- run : ' cmake -h
1446-
1447- pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
1448-
1449- '
1455+ - if : runner.os == 'Windows' && (matrix.install-method == 'conda' || matrix.install-method
1456+ == 'mamba')
1457+ name : Run cmake test in command prompt (CONDA)
1458+ run : conda activate test && pytest --import-mode=importlib --ci --cov-append
1459+ --nocapture tests/drivers/test_CMakeModelDriver.py
1460+ shell : cmd /C CALL {0}
1461+ timeout-minutes : 180
1462+ - if : runner.os == 'Windows' && matrix.install-method != 'conda' && matrix.install-method
1463+ != 'mamba'
1464+ name : Run cmake test in command prompt (PIP)
1465+ run : pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
14501466 shell : cmd /C CALL {0}
14511467 timeout-minutes : 180
14521468 - continue-on-error : true
@@ -1761,13 +1777,17 @@ jobs:
17611777 run : python utils/setup_test_env.py verify
17621778 - name : Compile libraries
17631779 run : yggcompile
1764- - if : runner.os == 'Windows'
1765- name : Run cmake test in command prompt
1766- run : ' cmake -h
1767-
1768- pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
1769-
1770- '
1780+ - if : runner.os == 'Windows' && (matrix.install-method == 'conda' || matrix.install-method
1781+ == 'mamba')
1782+ name : Run cmake test in command prompt (CONDA)
1783+ run : conda activate test && pytest --import-mode=importlib --ci --cov-append
1784+ --nocapture tests/drivers/test_CMakeModelDriver.py
1785+ shell : cmd /C CALL {0}
1786+ timeout-minutes : 180
1787+ - if : runner.os == 'Windows' && matrix.install-method != 'conda' && matrix.install-method
1788+ != 'mamba'
1789+ name : Run cmake test in command prompt (PIP)
1790+ run : pytest --import-mode=importlib --ci --cov-append --nocapture tests/drivers/test_CMakeModelDriver.py
17711791 shell : cmd /C CALL {0}
17721792 timeout-minutes : 180
17731793 - continue-on-error : true
0 commit comments