Skip to content

Commit c8388d6

Browse files
committed
Merge pull request #1482 from petermm/wokwi-ci-service
CI run simtest inside GH action This executes the simtest simulator inside the github ci action, using (docker) services, instead of using remote servers. Should increase CI stability, and avoid usage of Wokwi.com server resources. These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 8e4efd6 + 80fa8c5 commit c8388d6

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)