summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-06-08 16:21:34 +0700
committerhathach <[email protected]>2026-06-08 16:21:34 +0700
commita70c5a626b161eae1211fa47e9929de35b18bcd7 (patch)
tree642efa07d9612082d2aaeed7e96ee18567ba61d1
parent7b60e3951e800bcdc5e1e015ca078d4f3cd6080e (diff)
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) <[email protected]>
-rw-r--r--.github/workflows/build.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0ff29cdda..ce94a9829 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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