@@ -192,7 +192,7 @@ jobs:
192
192
core.info(`${name} is ${state}`);
193
193
194
194
hardware-test :
195
- name : Hardware ${{ matrix.chip }} ${{ matrix.type }} tests
195
+ name : Internal Hardware Tests
196
196
if : |
197
197
(github.event.workflow_run.conclusion == 'success' ||
198
198
github.event.workflow_run.conclusion == 'failure' ||
@@ -201,15 +201,10 @@ jobs:
201
201
runs-on : ubuntu-latest
202
202
needs : get-artifacts
203
203
env :
204
- id : ${{ needs.get-artifacts.outputs.ref }}-${{ github.event.workflow_run.head_sha || github.sha }}-${{ matrix.chip }}-${{ matrix.type }}
204
+ id : ${{ needs.get-artifacts.outputs.ref }}-${{ github.event.workflow_run.head_sha || github.sha }}
205
205
permissions :
206
206
actions : read
207
207
statuses : write
208
- strategy :
209
- fail-fast : false
210
- matrix :
211
- type : ${{ fromJson(needs.get-artifacts.outputs.types) }}
212
- chip : ${{ fromJson(needs.get-artifacts.outputs.targets) }}
213
208
steps :
214
209
- name : Report pending
215
210
uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
@@ -222,7 +217,7 @@ jobs:
222
217
core.debug(`repo: ${repo}`);
223
218
core.debug(`sha: ${sha}`);
224
219
const { context: name, state } = (await github.rest.repos.createCommitStatus({
225
- context: 'Runtime Tests / Hardware (${{ matrix.type }}, ${{ matrix.chip }}) / Hardware ${{ matrix.chip }} ${{ matrix.type }} tests (${{ github.event.workflow_run.event }} -> workflow_run)',
220
+ context: 'Runtime Tests / Internal Hardware Tests (${{ github.event.workflow_run.event }} -> workflow_run)',
226
221
owner: owner,
227
222
repo: repo,
228
223
sha: sha,
@@ -305,15 +300,6 @@ jobs:
305
300
with :
306
301
ref : ${{ needs.get-artifacts.outputs.base || github.ref }}
307
302
308
- - name : Get test binaries
309
- if : ${{ steps.check-tests.outputs.enabled == 'true' }}
310
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
311
- with :
312
- github-token : ${{ secrets.GITHUB_TOKEN }}
313
- run-id : ${{ github.event.workflow_run.id }}
314
- name : test-bin-${{ matrix.chip }}-${{ matrix.type }}
315
- path : test-binaries
316
-
317
303
- name : Trigger GitLab Pipeline and Download Artifacts
318
304
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
319
305
uses :
digital-blueprint/[email protected]
@@ -328,7 +314,7 @@ jobs:
328
314
download_artifacts : ' true'
329
315
download_artifacts_on_failure : ' true'
330
316
download_path : ' ./gitlab-artifacts'
331
- variables : ' {"TEST_TYPE ":"${{ matrix.type }}","TEST_CHIP ":"${{ matrix.chip }}","PIPELINE_ID":"${{ env.id }}","BINARIES_RUN_ID":"${{ github.event.workflow_run.id }}","GITHUB_REPOSITORY":"${{ github.repository }}"}'
317
+ variables : ' {"TEST_TYPES ":"${{ needs.get-artifacts.outputs.types }}","TEST_CHIPS ":"${{ needs.get-artifacts.outputs.targets }}","PIPELINE_ID":"${{ env.id }}","BINARIES_RUN_ID":"${{ github.event.workflow_run.id }}","GITHUB_REPOSITORY":"${{ github.repository }}"}'
332
318
333
319
- name : Process Downloaded Artifacts
334
320
if : ${{ always() && steps.check-tests.outputs.enabled == 'true' }}
@@ -359,7 +345,7 @@ jobs:
359
345
echo "No artifacts were downloaded from GitLab"
360
346
fi
361
347
362
- - name : Upload ${{ matrix.chip }} ${{ matrix.type }} hardware results as cache
348
+ - name : Upload hardware results as cache
363
349
uses : actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
364
350
if : steps.check-tests.outputs.enabled == 'true' && needs.get-artifacts.outputs.pr_num
365
351
with :
@@ -368,11 +354,11 @@ jobs:
368
354
tests/**/*.xml
369
355
tests/**/result_*.json
370
356
371
- - name : Upload ${{ matrix.chip }} ${{ matrix.type }} hardware results as artifacts
357
+ - name : Upload hardware results as artifacts
372
358
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
373
359
if : always()
374
360
with :
375
- name : test-results-hw-${{ matrix.chip }}-${{ matrix.type }}
361
+ name : test-results-hw
376
362
overwrite : true
377
363
path : |
378
364
tests/**/*.xml
@@ -390,7 +376,7 @@ jobs:
390
376
core.debug(`repo: ${repo}`);
391
377
core.debug(`sha: ${sha}`);
392
378
const { context: name, state } = (await github.rest.repos.createCommitStatus({
393
- context: 'Runtime Tests / Hardware (${{ matrix.type }}, ${{ matrix.chip }}) / Hardware ${{ matrix.chip }} ${{ matrix.type }} tests (${{ github.event.workflow_run.event }} -> workflow_run)',
379
+ context: 'Runtime Tests / Internal Hardware Tests (${{ github.event.workflow_run.event }} -> workflow_run)',
394
380
owner: owner,
395
381
repo: repo,
396
382
sha: sha,
0 commit comments