Skip to content

Commit ba70e7b

Browse files
committed
Fixes windows test execution command
1 parent e690ede commit ba70e7b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,13 @@ jobs:
248248
249249
python -m pip show isaacsim
250250
251-
# Run tests using isaaclab.bat with pytest
252-
# Run pytest directly with filter to exclude isaaclab_tasks
251+
# Set environment variables for test filtering
252+
$env:TEST_RESULT_FILE = "general-tests-windows-report.xml"
253+
$env:TEST_EXCLUDE_PATTERN = "isaaclab_tasks"
254+
255+
# Run tests using conftest.py which handles Windows-specific execution
253256
& python -m pytest tools `
254-
--ignore=tools/conftest.py `
255-
-m "windows" `
256-
-k "not isaaclab_tasks" `
257-
-v `
258-
--junitxml=reports/general-tests-windows-report.xml
257+
-v
259258
260259
$testExitCode = $LASTEXITCODE
261260
Write-Host "Tests completed with exit code: $testExitCode"

0 commit comments

Comments
 (0)