Skip to content

ablil/junit5-reports-markdown-converter

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Junit5 reports converter

This composite action convert generated tests reports by Junit from XML to Markdown, then add it to workflow job summary.

Inputs

input description default
tests_directory directory where test reports are located (xml) build/test-results/test

Usage

name: CI

on:
  push:
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: checkout repo
        uses: actions/checkout@v4

      - name: setup java
        uses: actions/[email protected]
        with:
          distribution: temurin

      - name: Setup Gradle
        uses: gradle/actions/setup-gradle@v3
        with:
          build-scan-publish: true
          build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
          build-scan-terms-of-use-agree: "yes"

      - name: build
        run: ./gradlew build

      - name: Upload reports to job summary
        if: always()
        uses: ablil/junit5-reports-markdown-converter@main

Test report sample

image

About

Add Junit5 test reports to your Github workflow job summary

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages