Skip to content

Commit

Permalink
ci: Avoid running hil twice and add --no-skip to espflash flash command
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Jan 29, 2025
1 parent c9183ff commit 72813f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hil.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: HIL

on:
pull_request:
push:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
workflow_dispatch:
inputs:
repository:
Expand All @@ -13,7 +14,6 @@ on:
description: "Branch, tag or SHA to checkout."
required: true
default: "main"
merge_group:

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
ESPFLASH_APP: espflash/resources/apps/${{ matrix.board.mcu }}
shell: bash
run: |
result=$(espflash_app/espflash flash ${{ env.ESPFLASH_APP }} 2>&1)
result=$(espflash_app/espflash flash --no-skip ${{ env.ESPFLASH_APP }} 2>&1)
echo "$result"
if [[ ! $result =~ "Flashing has completed!" ]]; then
exit 1
Expand Down

0 comments on commit 72813f0

Please sign in to comment.