Skip to content

Commit

Permalink
fix: Add debug infromation and remove flash timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
achxkloel committed Jan 19, 2024
1 parent 359612e commit 57c70b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/hil.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,18 @@ jobs:
exit 1
fi
- name: debug info
run: |
echo "Current user: $(whoami)"
ls -l /dev/serial_ports
- name: flash test
env:
ESPFLASH_PORT: /dev/serial_ports/${{ matrix.board }}
ESPFLASH_APP: espflash/${{ matrix.board }}_app/hello_world
shell: bash
run: |
timeout 10s espflash_app/espflash flash --monitor ${{ env.ESPFLASH_APP }} 2>&1
espflash_app/espflash flash --monitor ${{ env.ESPFLASH_APP }} 2>&1
# if ! echo "$result" | grep -q "Flashing has completed!"; then
# if [[ $result == *"Flashing has completed!"* && $result == *"Hello world!"* ]]; then
Expand Down

0 comments on commit 57c70b4

Please sign in to comment.