Skip to content

Commit 7923df3

Browse files
committed
Fix path issues
1 parent 92f4c04 commit 7923df3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/scripts/run_playbook_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ def run_playbook_tests(playbook_id: str, platform: str) -> bool:
405405
print(f"Playbook path: {playbook_path}")
406406
print(f"README path: {readme_path}")
407407

408-
# Create results directory
409-
results_dir = Path("test-results") / playbook_id
408+
# Create results directory (use absolute path so it works from any workdir)
409+
results_dir = Path.cwd() / "test-results" / playbook_id
410410
results_dir.mkdir(parents=True, exist_ok=True)
411411

412412
# Extract tests

0 commit comments

Comments
 (0)