Skip to content

bitaxeorg/esp32-qemu-test-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unittest action

  1. Setup your ESP32 firmware runs unit tests and esp_restart() (to stop QEMU);
  2. Action builds firmware;
  3. Action runs firmware ar QEMU;
  4. Action writes QEMU log output to file;
  5. Action converts Unity output to JUnit report.xml;
  6. You can feed report.xml to another action to publish test resuls;

Example workflow with results publishing

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/[email protected]
      - name: Publish Unit Test Results
        uses: EnricoMi/publish-unit-test-result-action@v1
        if: always()
        with:
            files: report.xml

Versions

Example project

https://github.com/Batov/esp32_unittest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 59.1%
  • Shell 40.9%