Skip to content

Commit ac7e5a9

Browse files
authored
Fix local server in boxzer test (ZigEmbeddedGroup#696)
* Add longer sleep
1 parent bc81cdc commit ac7e5a9

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
name: Formatting check
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Checkout
18-
uses: actions/checkout@v4
19-
- name: Setup Zig
20-
uses: mlugg/setup-zig@v2
21-
with:
22-
version: ${{ env.ZIG_VERSION }}
23-
- name: Run zig fmt
24-
run: zig fmt --check .
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Setup Zig
20+
uses: mlugg/setup-zig@v2
21+
with:
22+
version: ${{ env.ZIG_VERSION }}
23+
- name: Run zig fmt
24+
run: zig fmt --check .
2525

2626
unit-test-regz:
2727
name: Unit Test Regz
@@ -165,11 +165,10 @@ jobs:
165165
runs-on: ubuntu-latest
166166
strategy:
167167
matrix:
168-
example_dir:
169-
[
168+
example_dir: [
170169
espressif/esp,
171170
gigadevice/gd32,
172-
#microchip/avr,
171+
#microchip/avr,
173172
microchip/atsam,
174173
nordic/nrf5x,
175174
nxp/lpc,
@@ -242,8 +241,8 @@ jobs:
242241
MICROZIG_VERSION=$(zig build package -- get-version)
243242
echo microzig version: $MICROZIG_VERSION
244243
zig build package -- http://localhost:8000
245-
python3 -m http.server 8000 --directory boxzer-out &
246-
sleep 1
244+
python3 -m http.server --directory boxzer-out &
245+
sleep 5
247246
248247
cd tools/package-test
249248
zig fetch --save=microzig http://localhost:8000/${MICROZIG_VERSION}/microzig.tar.gz

0 commit comments

Comments
 (0)