Skip to content

Commit f0430b8

Browse files
committed
Add parallel testing demo
1 parent c044b2a commit f0430b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/parallel_dir.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ jobs:
4444
for line in lines:
4545
parts = line.strip().partition("::")
4646
test_dirs.add(str(Path(parts[0]).parent))
47-
# test_dirs = { "test_dirs": sorted(list(test_dirs)) }
4847
test_dirs = sorted(list(test_dirs))
49-
print(test_dirs)
48+
print(f"::notice ::Directories: {test_dirs}")
5049
with open(environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as f:
5150
print(f"TEST_DIRS={test_dirs}", file=f)
5251
@@ -72,7 +71,7 @@ jobs:
7271
uv sync --locked; echo
7372
uv tree
7473
75-
- name: Set norecursedirs
74+
- name: Set pytest norecursedirs
7675
# Prevent the test runner from recursing into subdirectories. This
7776
# avoids duplicate test runs if there are nested test directories.
7877
run: |

0 commit comments

Comments
 (0)