Skip to content

Commit c2cf048

Browse files
committed
fix: Add reading from serial port
1 parent abfcd77 commit c2cf048

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/hil.yml

+11
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,14 @@ jobs:
160160
fi
161161
162162
exit $ret
163+
164+
- name: cat serial port
165+
env:
166+
ESPFLASH_PORT: /dev/serial_ports/${{ matrix.board }}
167+
run: |
168+
result=$(timeout 5s cat ${{ env.ESPFLASH_PORT }})
169+
echo "$result"
170+
171+
if ! echo "$result" | grep -q "Hello world!"; then
172+
exit 1
173+
fi

0 commit comments

Comments
 (0)