Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
linshokaku committed Sep 30, 2024
1 parent 2b11c4b commit 61f6477
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .flexci/windows/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ RunOrDie python -m pip install -e .

# Unit Test
$Env:JUPYTER_PLATFORM_DIRS = "1"
# RunOrDie python -m pytest -m "not mpi" tests
$pytest_opts = "-m", '"not mpi"'
$test_retval = RunWithTimeout -timeout 7200 -output ./ppe_test_log.txt -- python -m pytest @pytest_opts tests
if ($test_retval -ne 0) {
echo "------------------------------------------------------------------------------------------"
Get-Content ppe_test_log.txt
echo "------------------------------------------------------------------------------------------"
throw "Test failed with status $test_retval"
}
RunOrDie python -m pytest -m '"not mpi"' tests
# $pytest_opts = "-m", '"not mpi"'
# $test_retval = RunWithTimeout -timeout 7200 -output ./ppe_test_log.txt -- python -m pytest @pytest_opts tests
# if ($test_retval -ne 0) {
# echo "------------------------------------------------------------------------------------------"
# Get-Content ppe_test_log.txt
# echo "------------------------------------------------------------------------------------------"
# throw "Test failed with status $test_retval"
# }


# Examples
Expand Down

0 comments on commit 61f6477

Please sign in to comment.