A Github action for creating generic run report. Currently this action is supporting 3 data format: markdown
, html
or junit
.
Sample workflow:
jobs:
create-report:
name: Report using ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: michaelhenry/[email protected]
name: create report from a junit file.
with:
title: "JUnit report"
path: samples/sample.junit
format: junit
- uses: michaelhenry/create-report@v2
name: create report from markdown
with:
title: "Markdown report"
path: samples/sample.md
format: markdown
Please see samples/sample.md for the sample file which generated this run report.
- uses: michaelhenry/create-report@v2
name: create report from html
with:
title: "HTML report"
path: samples/sample.html
format: html
Please see samples/sample.html for the sample file which generated this run report.
- uses: michaelhenry/create-report@v2
name: create report from junit
with:
title: "JUnit report"
path: samples/sample.junit
format: junit
Please see samples/sample.junit for the sample file which generated this run report.