From ae5e5d521eaa26fadc3cc4a3860941e94dff401c Mon Sep 17 00:00:00 2001 From: Laurent Senta Date: Tue, 22 Aug 2023 18:10:07 +0200 Subject: [PATCH] fix: markdown generation --- .github/actions/test/action.yml | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index fbd6de167..8c3bbb799 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -62,7 +62,7 @@ runs: mode: no-frames input: ${{ inputs.xml }} output: ${{ inputs.html }} - - name: Create the HTML + - name: Create the Markdown if: inputs.markdown && (failure() || success()) uses: pl-strflt/junit-xml-to-html@v1 with: diff --git a/Makefile b/Makefile index c32909ad8..042894aef 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,9 @@ test-docker: docker fixtures.car gateway-conformance docker run --rm -v "${PWD}:/workspace" -w "/workspace" ghcr.io/pl-strflt/saxon:v1 -s:./reports/output.xml -xsl:/etc/junit-noframes-saxon.xsl -o:./reports/output.html open ./reports/output.html +./reports/output.md: ./reports/output.xml + docker run --rm -v "${PWD}:/workspace" -w "/workspace" ghcr.io/pl-strflt/saxon:v1 -s:./reports/output.xml -xsl:/etc/junit-summary.xsl -o:./reports/output.md + docker: docker build --build-arg VERSION="$(CLI_VERSION)" -t gateway-conformance .