Skip to content

Commit c0188cd

Browse files
committed
Add parallel testing demo
1 parent fbe5d89 commit c0188cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/parallel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
uv tree
2626
2727
- name: Collect tests
28-
run: |
29-
uv run -- pytest --collect-only --quiet > collected.txt
30-
cat collected.txt
28+
run: uv run -- pytest --collect-only --quiet | tee collected.txt
3129

3230
- shell: uv run -- python {0}
3331
run: |
34-
print("hello")
32+
with open("collected.txt") as lines:
33+
for line in lines:
34+
print(line.strip())
3535
3636
test:
3737
name: Test

0 commit comments

Comments
 (0)