Skip to content

WIP: feat(tests): Add WOKWI test action #2

WIP: feat(tests): Add WOKWI test action

WIP: feat(tests): Add WOKWI test action #2

Workflow file for this run

name: Build and test WOKWI
on:
workflow_dispatch:
pull_request:
jobs:
build-and-test-wokwi:
if: secrets.WOKWI_CLI_TOKEN != '' # To use this action, register on https://wokwi.com/dashboard/ci and create Wokwi token

Check failure on line 9 in .github/workflows/wokwi-test.yml

View workflow run for this annotation

GitHub Actions / Build and test WOKWI

Invalid workflow file

The workflow is not valid. .github/workflows/wokwi-test.yml (Line: 9, Col: 9): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.WOKWI_CLI_TOKEN != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Test Application with ESP-IDF
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: "latest" # latest is the default version
target: esp32
path: 'test_app'
- name: Test with Wokwi
uses: wokwi/wokwi-ci-action@v1
with:
token: ${{ secrets.WOKWI_CLI_TOKEN }}
expect_text: 'Mean'