This composite action convert generated tests reports by Junit from XML to Markdown, then add it to workflow job summary.
input | description | default |
---|---|---|
tests_directory | directory where test reports are located (xml) | build/test-results/test |
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