File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -241,13 +241,17 @@ jobs:
241
241
path : tests/output/javascript/node_modules
242
242
key : node-modules-tests-${{ hashFiles('tests/output/javascript/yarn.lock') }}
243
243
244
- - name : Run CTS
245
- id : cts
244
+ - name : Run unit CTS
245
+ run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --exclude-e2e
246
+
247
+ - name : Run e2e CTS
248
+ id : cts-e2e
246
249
continue-on-error : true
247
- run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} ${{ github.event.pull_request.head.repo.fork && '--exclude-e2e' || '' }}
250
+ if : ${{ !github.event.pull_request.head.repo.fork }}
251
+ run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --exclude-unit
248
252
249
253
- name : Retry e2e CTS
250
- if : ${{ !github.event.pull_request.head.repo.fork && github.event.number && steps.cts.outcome == 'failure' }}
254
+ if : ${{ !github.event.pull_request.head.repo.fork && steps.cts.outcome == 'failure' }}
251
255
run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --exclude-unit
252
256
253
257
- name : Generate code snippets for documentation
@@ -331,10 +335,14 @@ jobs:
331
335
- name : Generate CTS
332
336
run : yarn cli cts generate ${{ matrix.client.language }} ${{ matrix.client.toRun }}
333
337
334
- - name : Run CTS
335
- id : cts
338
+ - name : Run unit CTS
339
+ run : yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} --exclude-e2e
340
+
341
+ - name : Run e2e CTS
342
+ id : cts-e2e
336
343
continue-on-error : true
337
- run : yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} ${{ github.event.pull_request.head.repo.fork && '--exclude-e2e' || '' }}
344
+ if : ${{ !github.event.pull_request.head.repo.fork }}
345
+ run : yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} --exclude-unit
338
346
339
347
- name : Retry e2e CTS
340
348
if : ${{ !github.event.pull_request.head.repo.fork && steps.cts.outcome == 'failure' }}
You can’t perform that action at this time.
0 commit comments