summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5e11f8a29..93c48b2b1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -200,6 +200,15 @@ jobs:
steps:
- name: Clean workspace
run: |
+ # Skip boards that passed with previous run
+ if [ -f ${{ env.HIL_JSON }}.skip ]; then
+ SKIP_ARGS=$(cat "${HIL_JSON}.skip")
+ else
+ SKIP_ARGS=""
+ fi
+ echo "SKIP_ARGS=$SKIP_ARGS"
+ echo "SKIP_ARGS=$SKIP_ARGS" >> $GITHUB_ENV
+
echo "Cleaning up previous run"
rm -rf "${{ github.workspace }}"
mkdir -p "${{ github.workspace }}"
@@ -218,7 +227,7 @@ jobs:
- name: Test on actual hardware
run: |
ls cmake-build/
- python3 test/hil/hil_test.py ${{ env.HIL_JSON }}
+ python3 test/hil/hil_test.py ${{ env.HIL_JSON }} $SKIP_ARGS
# ---------------------------------------
# Hardware in the loop (HIL)