Skip to content
box

GitHub Action

Junit Report to Annotations

1.4 Latest version

Junit Report to Annotations

box

Junit Report to Annotations

Create an annotation of the test run summary and also list first n failed tests as separate annotations

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Junit Report to Annotations

uses: ashley-taylor/[email protected]

Learn more about this action in ashley-taylor/junit-report-annotations-action

Choose a version

junit-report-annotations-action

Create an annotation of the build information and also list first n failed tests as seporate annotations

Example

    - uses: ashley-taylor/[email protected]
      if: always()
      with:
        access-token: ${{ secrets.GITHUB_TOKEN }}

A demonstration is available here https://github.com/ashley-taylor/junit-report-annotations-action-example

On a succesful run will get a summary like

Pass

On a failed run will get a image like this

Fail