Skip to content

Commit b233fc0

Browse files
committed
fix: Return timeout and add monitor test
1 parent 57c70b4 commit b233fc0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/hil.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,18 @@ jobs:
133133
echo "Current user: $(whoami)"
134134
ls -l /dev/serial_ports
135135
136-
- name: flash test
137-
env:
138-
ESPFLASH_PORT: /dev/serial_ports/${{ matrix.board }}
139-
ESPFLASH_APP: espflash/${{ matrix.board }}_app/hello_world
136+
- name: monitor only test
140137
shell: bash
141138
run: |
142-
espflash_app/espflash flash --monitor ${{ env.ESPFLASH_APP }} 2>&1
139+
timeout 10s espflash_app/espflash monitor 2>&1
140+
141+
# - name: flash test
142+
# env:
143+
# ESPFLASH_PORT: /dev/serial_ports/${{ matrix.board }}
144+
# ESPFLASH_APP: espflash/${{ matrix.board }}_app/hello_world
145+
# shell: bash
146+
# run: |
147+
# timeout 10s espflash_app/espflash flash --monitor ${{ env.ESPFLASH_APP }} 2>&1
143148

144149
# if ! echo "$result" | grep -q "Flashing has completed!"; then
145150
# if [[ $result == *"Flashing has completed!"* && $result == *"Hello world!"* ]]; then

0 commit comments

Comments
 (0)