Skip to content

Commit 80fa8c5

Browse files
committed
CI run simtest in GH action
This executes the simtest in the github action, using (docker) services, instead of remote servers. Signed-off-by: Peter M <petermm@gmail.com>
1 parent 8e4efd6 commit 80fa8c5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/esp32-simtest.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ jobs:
5555
runs-on: ubuntu-24.04
5656
if: needs.cli_token.outputs.token_check == 'true'
5757
container: espressif/idf:${{ matrix.idf-version }}
58+
services:
59+
wokwi-ci-server:
60+
image: wokwi/wokwi-ci-server
61+
ports:
62+
- 3000:3000
63+
5864
strategy:
5965
fail-fast: false
6066
# focus on device diversity.
@@ -114,6 +120,10 @@ jobs:
114120
idf.py -DSDKCONFIG_DEFAULTS='sdkconfig.ci.wokwi' set-target ${{matrix.esp-idf-target}}
115121
idf.py build
116122
123+
- name: Configure Wokwi environment
124+
run: |
125+
echo "WOKWI_CLI_SERVER=ws://wokwi-ci-server:3000" >> $GITHUB_ENV
126+
117127
- name: Run ESP32-sim tests using Wokwi CI
118128
working-directory: ./src/platforms/esp32/test/
119129
env:

0 commit comments

Comments
 (0)