Skip to content

Commit e4b9888

Browse files
committed
Update
[ghstack-poisoned]
1 parent 4b42b75 commit e4b9888

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: .github/workflows/runtime_test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ jobs:
1818
runs-on: ubuntu-latest
1919
outputs:
2020
params: ${{ steps.define-params.outputs.result }}
21-
shard_id: ${{ steps.define-chunks.outputs.result }}
21+
shard_id: ${{ steps.define-shards.outputs.result }}
2222
steps:
2323
- uses: actions/github-script@v7
24-
id: define-chunks
24+
id: define-shards
2525
with:
2626
script: |
2727
function range(from, to) {
2828
const arr = [];
29-
for (let n = from; n < to; n++) {
29+
for (let n = from; n <= to; n++) {
3030
arr.push(n);
3131
}
3232
return arr;
3333
}
34-
return range(0, process.env.SHARD_COUNT);
34+
return range(1, process.env.SHARD_COUNT);
3535
- uses: actions/github-script@v7
3636
id: define-params
3737
with:
@@ -60,7 +60,7 @@ jobs:
6060
6161
# Spawn a job for each shard for a given set of test params
6262
test:
63-
name: yarn test ${{ matrix.params }} (Chunk ${{ matrix.shard_id }})
63+
name: yarn test ${{ matrix.params }} (Shard ${{ matrix.shard_id }})
6464
runs-on: ubuntu-latest
6565
needs: build_test_params
6666
strategy:

0 commit comments

Comments
 (0)