Skip to content

Commit 8c6be52

Browse files
committed
Fixes Missing Directory Error
1 parent c319070 commit 8c6be52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ def run_individual_tests(test_files, workspace_root, isaacsim_ci, windows_platfo
194194
failed_tests = []
195195
test_status = {}
196196

197+
# Ensure tests directory exists for reports
198+
os.makedirs("tests", exist_ok=True)
199+
197200
for test_file in test_files:
198201
print(f"\n\n🚀 Running {test_file} independently...\n")
199202
# get file name from path
@@ -436,6 +439,8 @@ def pytest_sessionstart(session):
436439
# create new full report
437440
full_report = JUnitXml()
438441
# read all reports and merge them
442+
# Ensure tests directory exists
443+
os.makedirs("tests", exist_ok=True)
439444
for report in os.listdir("tests"):
440445
if report.endswith(".xml"):
441446
print(report)

0 commit comments

Comments
 (0)