File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -76,48 +76,47 @@ jobs:
7676 name : HIL | ${{ matrix.target.soc }}
7777 needs : build-packages
7878 runs-on : [self-hosted, "${{ matrix.target.runner }}"]
79- env :
80- ESPFLASH_PORT : ${{ matrix.target.port }}
8179
8280 strategy :
8381 fail-fast : false
8482 matrix :
8583 target :
8684 - soc : esp32c2
8785 runner : esp32c2-jtag
88- port : /dev/ttyUSB2
86+ ports : [ /dev/ttyUSB2]
8987 host : aarch64
9088 - soc : esp32c3
9189 runner : esp32c3-usb
92- port : /dev/ttyACM0
90+ ports : [ /dev/ttyACM0]
9391 host : armv7
9492 - soc : esp32c5
9593 runner : esp32c5-usb
96- port : /dev/ttyACM0
94+ ports : [ /dev/ttyACM0, /dev/ttyUSB0]
9795 host : aarch64
9896 - soc : esp32c6
9997 runner : esp32c6-usb
100- port : /dev/ttyACM0
98+ ports : [/dev/ttyACM0]
99+ # ports: [/dev/ttyACM0, /dev/ttyUSB0]
101100 host : armv7
102101 - soc : esp32h2
103102 runner : esp32h2-usb
104- port : /dev/ttyUSB0
103+ ports : [ /dev/ttyACM0, /dev/ ttyUSB0]
105104 host : armv7
106105 - soc : esp32p4
107106 runner : esp32p4
108- port : /dev/ttyACM0
107+ ports : [ /dev/ttyACM0, /dev/ttyUSB0]
109108 host : aarch64
110109 - soc : esp32
111110 runner : esp32-jtag
112- port : /dev/ttyUSB2
111+ ports : [ /dev/ttyUSB2]
113112 host : aarch64
114113 # - soc: esp32s2
115114 # runner: esp32s2-jtag
116- # port: /dev/ttyUSB0
115+ # ports: [ /dev/ttyUSB0]
117116 # host: armv7
118117 - soc : esp32s3
119118 runner : esp32s3-usb
120- port : /dev/ttyUSB0
119+ ports : [ /dev/ttyACM0, /dev/ ttyUSB0]
121120 host : armv7
122121
123122 steps :
@@ -141,4 +140,8 @@ jobs:
141140 echo "$PWD/xtask_app" >> "$GITHUB_PATH"
142141
143142 - name : Run all tests
144- run : xtask_app/xtask run-tests --chip ${{ matrix.target.soc }} -t 60 --no-build
143+ run : |
144+ for port in ${{ join(matrix.target.ports, ' ') }}; do
145+ echo "Running tests on ${port}"
146+ ESPFLASH_PORT="${port}" xtask run-tests --chip ${{ matrix.target.soc }} -t 60 --no-build
147+ done
You can’t perform that action at this time.
0 commit comments