Skip to content

Commit 7b40007

Browse files
committed
Add parallel testing demo
1 parent 7f7794d commit 7b40007

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/parallel.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
runs-on: ubuntu-latest
5555
needs: collect
5656

57-
strategy:
58-
matrix:
59-
test_dir: ["tests", "tests/dir1", "tests/dir2", "tests/dir3"]
60-
# test_dir: "${{ needs.collect.outputs.TEST_MATRIX }}"
57+
# strategy:
58+
# matrix:
59+
# test_dir: ["tests", "tests/dir1", "tests/dir2", "tests/dir3"]
60+
# test_dir: "${{ needs.collect.outputs.TEST_MATRIX }}"
6161

6262
steps:
6363
- uses: actions/checkout@v4
@@ -74,3 +74,5 @@ jobs:
7474
7575
- name: Run test
7676
run: uv run -- pytest '${{ matrix.test_dir }}'
77+
78+
- run: echo "TEST_MATRIX is '${{ needs.collect.outputs.TEST_MATRIX }}'"

0 commit comments

Comments
 (0)