WIP: feat(tests): Add WOKWI test action #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Build and test WOKWIInvalid workflow file
|
||
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' |