File tree Expand file tree Collapse file tree 1 file changed +35
-18
lines changed Expand file tree Collapse file tree 1 file changed +35
-18
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,43 @@ jobs:
2727
2828 integration :
2929 - name : upgrade
30- shards : 3
30+ shard : 1/3
31+ - name : upgrade
32+ shard : 2/3
33+ - name : upgrade
34+ shard : 3/3
35+ - name : vite
36+ shard : 1/5
37+ - name : vite
38+ shard : 2/5
3139 - name : vite
32- shards : 5
40+ shard : 3/5
41+ - name : vite
42+ shard : 4/5
43+ - name : vite
44+ shard : 5/5
45+ - name : cli
46+ shard : 1/4
47+ - name : cli
48+ shard : 2/4
3349 - name : cli
34- shards : 4
50+ shard : 3/4
51+ - name : cli
52+ shard : 4/4
53+ - name : postcss
54+ shard : 1/5
55+ - name : postcss
56+ shard : 2/5
57+ - name : postcss
58+ shard : 3/5
3559 - name : postcss
36- shards : 5
60+ shard : 4/5
61+ - name : postcss
62+ shard : 5/5
3763 - name : oxide
38- shards : 1
64+ shard : 1/ 1
3965 - name : webpack
40- shards : 1
66+ shard : 1/ 1
4167
4268 # Exclude windows and macos from being built on feature branches
4369 run-all :
5379 runs-on : ${{ matrix.runner.os }}
5480 timeout-minutes : 30
5581
56- name : ${{ matrix.runner.name }} / ${{ matrix.integration.name }}
82+ name : ${{ matrix.runner.name }} / ${{ matrix.integration.name }} / ${{ matrix.integration.shard }}
5783
5884 steps :
5985 - uses : actions/checkout@v4
@@ -109,17 +135,8 @@ jobs:
109135 CARGO_PROFILE_RELEASE_LTO : ' off'
110136 CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER : ' lld-link'
111137
112- - name : Test ${{ matrix.integration.name }}
113- run : |
114-
115- # Run shards in parallel
116- for i in $(seq 1 ${{ matrix.integration.shards }}); do
117- (pnpm run test:integrations ./integrations/${{ matrix.integration.name }} --shard $i/${{ matrix.integration.shards }}) &
118- done
119-
120- # Wait for all background jobs
121- wait
122-
138+ - name : Test ${{ matrix.integration.name }} ${{ matrix.integration.shard }}
139+ run : pnpm run test:integrations ./integrations/${{ matrix.integration.name }} --shard ${{ matrix.integration.shard }}
123140 env :
124141 GITHUB_WORKSPACE : ${{ github.workspace }}
125142
You can’t perform that action at this time.
0 commit comments