Skip to content

michaelhenry/create-report

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

create-report

codecov codebeat badge Test Coverage Maintainability

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/create-report@v2.0.0
      name: create report from a junit file.
      with:
        title: "JUnit report"
        path: samples/sample.junit
        format: junit

Using Markdown

  - 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.

Screen Shot 2022-04-10 at 23 28 09


Using HTML

  - 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.

Screen Shot 2022-04-10 at 23 27 32


Using JUnit

  - 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.

Screen Shot 2022-04-10 at 23 26 19