- Setup your ESP32 firmware runs unit tests and
esp_restart()
(to stop QEMU); - Action builds firmware;
- Action runs firmware ar QEMU;
- Action writes QEMU log output to file;
- Action converts Unity output to JUnit report.xml;
- You can feed report.xml to another action to publish test resuls;
name: Test
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Build and show result
uses: batov/esp32_qemu_runner@master
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: report.xml