Skip to content

Commit

Permalink
CI run simtest in GH action
Browse files Browse the repository at this point in the history
This executes the simtest in the github action, using (docker) services, instead of remote servers.

Signed-off-by: Peter M <petermm@gmail.com>
  • Loading branch information
petermm committed Jan 21, 2025
1 parent 8e4efd6 commit 80fa8c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/esp32-simtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:
runs-on: ubuntu-24.04
if: needs.cli_token.outputs.token_check == 'true'
container: espressif/idf:${{ matrix.idf-version }}
services:
wokwi-ci-server:
image: wokwi/wokwi-ci-server
ports:
- 3000:3000

strategy:
fail-fast: false
# focus on device diversity.
Expand Down Expand Up @@ -114,6 +120,10 @@ jobs:
idf.py -DSDKCONFIG_DEFAULTS='sdkconfig.ci.wokwi' set-target ${{matrix.esp-idf-target}}
idf.py build
- name: Configure Wokwi environment
run: |
echo "WOKWI_CLI_SERVER=ws://wokwi-ci-server:3000" >> $GITHUB_ENV
- name: Run ESP32-sim tests using Wokwi CI
working-directory: ./src/platforms/esp32/test/
env:
Expand Down

0 comments on commit 80fa8c5

Please sign in to comment.