@@ -223,7 +223,7 @@ jobs:
223
223
path : " sboms/*.json"
224
224
225
225
test :
226
- name : test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }})
226
+ name : test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }}, indy ${{ matrix.test-indy }} )
227
227
runs-on : ubuntu-latest
228
228
strategy :
229
229
matrix :
@@ -233,6 +233,7 @@ jobs:
233
233
- 17
234
234
- 21
235
235
- 23
236
+ - 24-ea
236
237
vm :
237
238
- hotspot
238
239
- openj9
@@ -241,8 +242,13 @@ jobs:
241
242
- 1
242
243
- 2
243
244
- 3
245
+ test-indy :
246
+ - false
247
+ - true
244
248
exclude :
245
249
- vm : ${{ inputs.skip-openj9-tests && 'openj9' || '' }}
250
+ - test-java-version : 24-ea
251
+ vm : openj9
246
252
fail-fast : false
247
253
steps :
248
254
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -272,7 +278,7 @@ jobs:
272
278
273
279
# vaadin tests use pnpm
274
280
- name : Cache pnpm modules
275
- uses : actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
281
+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
276
282
with :
277
283
path : ~/.pnpm-store
278
284
key : ${{ runner.os }}-test-cache-pnpm-modules
@@ -307,6 +313,7 @@ jobs:
307
313
${{ env.test-tasks }}
308
314
-PtestJavaVersion=${{ matrix.test-java-version }}
309
315
-PtestJavaVM=${{ matrix.vm }}
316
+ -PtestIndy=${{ matrix.test-indy }}
310
317
-Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }}
311
318
-Porg.gradle.java.installations.auto-download=false
312
319
${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
@@ -324,15 +331,22 @@ jobs:
324
331
with :
325
332
result-encoding : string
326
333
script : |
327
- const { data: workflow_run } = await github.rest.actions.listJobsForWorkflowRun({
328
- owner: context.repo.owner,
329
- repo: context.repo.repo,
330
- run_id: context.runId,
331
- per_page: 100
332
- });
333
334
const matrix = JSON.parse(process.env.matrix);
334
- const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm })`;
335
- return workflow_run.jobs.find((job) => job.name === job_name).html_url;
335
+ const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm }, indy ${ matrix['test-indy'] })`;
336
+
337
+ const workflow_jobs_nested = await github.paginate(
338
+ github.rest.actions.listJobsForWorkflowRun,
339
+ {
340
+ owner: context.repo.owner,
341
+ repo: context.repo.repo,
342
+ run_id: context.runId,
343
+ per_page: 100
344
+ },
345
+ (response) => {
346
+ return response.data;
347
+ },
348
+ );
349
+ return workflow_jobs_nested.flat().find((job) => job.name === job_name).html_url;
336
350
337
351
- name : Flaky test report
338
352
if : ${{ !cancelled() }}
@@ -349,7 +363,7 @@ jobs:
349
363
if : failure()
350
364
uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
351
365
with :
352
- name : deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
366
+ name : deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}-indy-${{ matrix.test-indy }}
353
367
path : /tmp/deadlock-detector-*
354
368
if-no-files-found : ignore
355
369
@@ -415,7 +429,7 @@ jobs:
415
429
run : ./gradlew :smoke-tests:test -PsmokeTestSuite=none --no-daemon ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
416
430
417
431
- name : Test
418
- run : ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
432
+ run : ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
419
433
420
434
- name : Upload jvm crash dump files if any
421
435
if : failure()
@@ -489,13 +503,17 @@ jobs:
489
503
working-directory : gradle-plugins
490
504
491
505
- name : Build distro
492
- run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
506
+ run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
493
507
working-directory : examples/distro
494
508
495
509
- name : Build extension
496
- run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
510
+ run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
497
511
working-directory : examples/extension
498
512
513
+ - name : Build benchmark-overhead
514
+ run : ./gradlew assemble ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
515
+ working-directory : benchmark-overhead
516
+
499
517
- name : Run muzzle check against extension
500
518
run : ./gradlew muzzle --init-script ../../.github/scripts/local.init.gradle.kts
501
519
working-directory : examples/extension
0 commit comments