Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions .github/workflows/hil_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,13 @@ jobs:
checks: ${{ steps.set-matrix.outputs.checks }}
decrypt-secrets: ${{ inputs.decrypt-secrets }}

setupHilEnv:
runs-on:
- self-hosted
- X64
- Linux
- makers
needs: setup
steps:
- name: Setup makers-hil deploy environment
run: |
switch_makers_hil.sh deploy

hilChecks:
runs-on:
- self-hosted
- X64
- Linux
- makers
needs: [setup, setupHilEnv]
needs: setup

strategy:
fail-fast: false
Expand All @@ -90,6 +78,15 @@ jobs:
checks: ${{ fromJson(needs.setup.outputs.checks) }}

steps:
- name: Setup makers-hil deploy environment
run: |
switch_makers_hil.sh deploy

- name: Power on USB hubs for MUC runner
if: ${{ contains(runner.name, 'MUC') }}
run: |
switch_device.py --uhubctl-switch-all on

- name: Checkout repository (recursive submodules)
uses: actions/checkout@v4
with:
Expand All @@ -103,7 +100,7 @@ jobs:
${{ needs.setup.outputs.decrypt-secrets }}
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}

- name: Run HIL check (${{ matrix.checks }})
timeout-minutes: 10
run: |
Expand Down Expand Up @@ -133,4 +130,4 @@ jobs:
echo '```' >> $GITHUB_STEP_SUMMARY
awk '/Unity test run 1 of 1/,/Number of ignored tests/' output.log >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
echo "</test_results>" >> $GITHUB_STEP_SUMMARY
echo "</test_results>" >> $GITHUB_STEP_SUMMARY