Skip to content

Commit

Permalink
fix wildcard not expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Nov 25, 2024
1 parent 3fe9316 commit 603fa5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pfnci/windows/GHA-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ function Main {
echo "CuPy Configuration:"
RunOrDie python -c "import cupy; print(cupy); cupy.show_config()"
echo "Running test..."
$pytest_tests = @("cupy_tests/core_tests/test*.py") # TODO: remove me
$pytest_tests = (Get-ChildItem "cupy_tests/core_tests/test*.py").FullName -join " " # TODO: remove me
# TODO: pass timeout as a function argument?
$test_retval = RunWithTimeout -timeout 18000 -output "" -- python -m pytest -rfEX @pytest_opts --maxfail=10 @pytest_tests
$test_retval = RunWithTimeout -timeout 18000 -output "" -- python -m pytest -rfEX @pytest_opts --maxfail=10 $pytest_tests
popd

if ($test_retval -ne 0) {
Expand Down

0 comments on commit 603fa5a

Please sign in to comment.