use test for specific board

This commit is contained in:
Juraj Michalek 2024-09-25 09:43:59 +02:00
commit b51f7f449d
3 changed files with 32 additions and 2 deletions

View file

@ -32,8 +32,8 @@ jobs:
uses: wokwi/wokwi-ci-action@v1 uses: wokwi/wokwi-ci-action@v1
with: with:
token: ${{ secrets.WOKWI_CLI_TOKEN }} token: ${{ secrets.WOKWI_CLI_TOKEN }}
# path: boards/${{ matrix.board }} path: boards/${{ matrix.board }}
# elf: build.${{ matrix.board }}/${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin elf: build.${{ matrix.board }}/${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin
timeout: 30000 timeout: 30000
expect_text: 'End of testing application.' expect_text: 'End of testing application.'
fail_text: 'Error' fail_text: 'Error'

View file

@ -0,0 +1,23 @@
{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-c3-devkitm-1",
"id": "esp"
}
],
"connections": [
[
"esp:TX",
"$serialMonitor:RX",
""
],
[
"esp:RX",
"$serialMonitor:TX",
""
]
]
}

View file

@ -0,0 +1,7 @@
# Wokwi Configuration File
# Reference: https://docs.wokwi.com/vscode/project-config
[wokwi]
version = 1
firmware = 'build/flasher_args.json'
elf = 'build/esp32-c3-lua-test.elf'
gdbServerPort=3333