Skip to content

Commit 23e4934

Browse files
committed
Add parallel testing demo
1 parent c0188cd commit 23e4934

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/parallel.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ jobs:
2525
uv tree
2626
2727
- name: Collect tests
28-
run: uv run -- pytest --collect-only --quiet | tee collected.txt
28+
run: |
29+
uv run -- pytest --collect-only --quiet | tee collected.txt
30+
# Delete the last two lines
31+
sed -i '' -e '$d' collected.txt
32+
sed -i '' -e '$d' collected.txt
2933
3034
- shell: uv run -- python {0}
3135
run: |
3236
with open("collected.txt") as lines:
3337
for line in lines:
34-
print(line.strip())
38+
print(line.strip().partition("::"))
3539
3640
test:
3741
name: Test

0 commit comments

Comments
 (0)