File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,18 @@ jobs:
133
133
echo "Current user: $(whoami)"
134
134
ls -l /dev/serial_ports
135
135
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
140
137
shell : bash
141
138
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
143
148
144
149
# if ! echo "$result" | grep -q "Flashing has completed!"; then
145
150
# if [[ $result == *"Flashing has completed!"* && $result == *"Hello world!"* ]]; then
You can’t perform that action at this time.
0 commit comments