Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
box

GitHub Action

Junit Report to Annotations

1.3

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