Skip to content

7.2.0 publish pio

7.2.0 publish pio #69

name: Build and test embeded
on:
workflow_dispatch:
push:
jobs:
build-and-test-embeded:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio test -e embeded_env --without-uploading --without-testing
- name: move firmware extention elf to root
run: mv .pio/build/embeded_env/firmware.elf firmware.elf
- name: Test Embeded
uses: wokwi/wokwi-ci-action@v1
with:
token: ${{ secrets.WOKWI_CLI_TOKEN }}
timeout: 360000
fail_text: FAILED
scenario: 'senario.test.yaml'
- name: delete firmware.elf
run: rm firmware.elf