Skip to content

Commit 82b4ecc

Browse files
committed
Simplify GHA workflows
Combines mini and demo flash and test steps to simply workflow jobs. Signed-off-by: Matthew Gee <mgee@iol.unh.edu>
1 parent 1e8a8ff commit 82b4ecc

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

.github/workflows/hardware-bu585.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,10 @@ jobs:
165165
west build -p always -b b_u585i_iot02a src/samples/mini/zephyr
166166
west flash --extload=/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/ExternalLoader/MX25LM51245G_STM32U585I-IOT02A.stldr
167167
168-
mini-test:
169-
name: Mini Validation Test
170-
needs: mini-flash
171-
runs-on: zephyr-xlarge-runner
172-
173-
steps:
174-
- name: Checkout
175-
uses: actions/checkout@v4
176-
177168
- name: Run mini sample Test Case
178169
run: |
170+
. /opt/zephyr-venv/bin/activate
171+
pip install pyserial
179172
cd tests_hw && bash beginTests.sh "mini"
180173
181174
- name: Print mini sample Test Case Logs
@@ -233,17 +226,10 @@ jobs:
233226
west build -p always -b b_u585i_iot02a src/samples/demo/zephyr
234227
west flash --extload=/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/ExternalLoader/MX25LM51245G_STM32U585I-IOT02A.stldr --hex-file build/zephyr/merged.hex
235228
236-
demo-test:
237-
name: Demo Validation Test
238-
needs: demo-flash
239-
runs-on: zephyr-xlarge-runner
240-
241-
steps:
242-
- name: Checkout
243-
uses: actions/checkout@v4
244-
245229
- name: Run Demo Sample Test Case
246230
run: |
231+
. /opt/zephyr-venv/bin/activate
232+
pip install pyserial
247233
cd tests_hw && bash beginTests.sh "demo"
248234
249235
- name: Print Demo Sample Test Case Logs

0 commit comments

Comments
 (0)