mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
ci: include hil-hfp-iar (IAR) results in the HIL PR comment
hil-hfp-iar runs hil_test.py on hfp.json built with IAR on its own rig. Upload its report as the hil-report-hfp-iar artifact and add the job to the hil-report combine job's needs, so the sticky comment shows a third table for the IAR rig alongside tinyusb.json and hfp.json (gcc). The combine gate now runs if either HIL job produced results. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -403,14 +403,23 @@ jobs:
|
||||
run: |
|
||||
python3 test/hil/hil_test.py hfp.json
|
||||
|
||||
- name: Upload HIL report
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: hil-report-hfp-iar
|
||||
path: hil_report.md
|
||||
if-no-files-found: ignore
|
||||
overwrite: true
|
||||
|
||||
# ---------------------------------------
|
||||
# Combine HIL results from the rigs into a single sticky PR comment (one table per rig)
|
||||
# ---------------------------------------
|
||||
hil-report:
|
||||
needs: hil-tinyusb
|
||||
needs: [ hil-tinyusb, hil-hfp-iar ]
|
||||
if: |
|
||||
always() &&
|
||||
needs.hil-tinyusb.result != 'skipped' &&
|
||||
(needs.hil-tinyusb.result != 'skipped' || needs.hil-hfp-iar.result != 'skipped') &&
|
||||
github.event_name == 'pull_request' &&
|
||||
github.repository_owner == 'hathach' &&
|
||||
github.event.pull_request.head.repo.fork == false
|
||||
|
||||
Reference in New Issue
Block a user