Ceedling action
- Setup your project to use Ceedling;
- Enable
junit_tests_report
plugin at your Ceedling project.yml; - Action runs
ceedling test:all
; - You can use
build/artifacts/test/report.xml
JUnit report to publish results;
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: Run tests
uses: batov/ceedling_action@master
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: build/artifacts/test/report.xml