File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,15 @@ jobs:
9292 name : ${{ matrix.board }}
9393 path : cmake-build/cmake-build-${{ matrix.board }}
9494
95- - name : Test on actual hardware
96- run : |
97- python3 test/hil/hil_test.py --board ${{ matrix.board }} hil_pi4.json
98-
9995 - name : Reset USB bus
10096 run : |
10197 for port in $(lspci | grep USB | cut -d' ' -f1); do
10298 echo -n "0000:${port}"| sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind;
10399 sleep 1;
104100 echo -n "0000:${port}" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind;
101+ sleep 1;
105102 done
103+
104+ - name : Test on actual hardware
105+ run : |
106+ python3 test/hil/hil_test.py --board ${{ matrix.board }} hil_pi4.json
Original file line number Diff line number Diff line change @@ -144,14 +144,15 @@ jobs:
144144 name : ${{ matrix.board }}
145145 path : cmake-build/cmake-build-${{ matrix.board }}
146146
147- - name : Test on actual hardware
148- run : |
149- python3 test/hil/hil_test.py --board ${{ matrix.board }} hil_pi4.json
150-
151147 - name : Reset USB bus
152148 run : |
153149 for port in $(lspci | grep USB | cut -d' ' -f1); do
154150 echo -n "0000:${port}"| sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind;
155151 sleep 1;
156152 echo -n "0000:${port}" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind;
153+ sleep 1;
157154 done
155+
156+ - name : Test on actual hardware
157+ run : |
158+ python3 test/hil/hil_test.py --board ${{ matrix.board }} hil_pi4.json
You can’t perform that action at this time.
0 commit comments