Skip to content

Commit 3404ad3

Browse files
try 2 shards
1 parent 74295f8 commit 3404ad3

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/full-test-suite.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,14 @@ jobs:
129129
server_url: ${{ needs.prepare-params.outputs.apiUrl }}
130130
portal_url: ${{ needs.prepare-params.outputs.portalUrl }}
131131
command: |
132-
FRAMEWORK="react" yarn run test:e2e:sanity --workers 2
132+
FRAMEWORK="react" yarn run test:e2e:sanity --shard=${{ matrix.shard }}/${{ matrix.total }}
133133
workflowName: "E2E Tests on Venv"
134134
runs_on: ubuntu-latest-4-cores
135+
strategy:
136+
fail-fast: false
137+
matrix:
138+
total: [ 2 ]
139+
shard: [ 1,2 ]
135140
secrets: inherit
136141

137142
run-api-test:
@@ -144,8 +149,15 @@ jobs:
144149
with:
145150
server_url: ${{ needs.prepare-params.outputs.apiUrl }}
146151
portal_url: ${{ needs.prepare-params.outputs.portalUrl }}
147-
command: "yarn test:api --workers 2"
152+
command: |
153+
yarn test:api --shard=${{ matrix.shard }}/${{ matrix.total }}
148154
workflowName: "API Tests on Venv"
155+
runs_on: ubuntu-latest-4-cores
156+
strategy:
157+
fail-fast: false
158+
matrix:
159+
total: [ 2 ]
160+
shard: [ 1,2 ]
149161
secrets: inherit
150162

151163
update-trigger-status:

0 commit comments

Comments
 (0)