File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments