From 2dc3e48a2027e572624067e8c2a7cbb660442850 Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Tue, 10 Dec 2024 15:20:06 +0100 Subject: [PATCH] CI: Generate and publish 9pm test report Signed-off-by: Richard Alpe --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b71b1ebb1..0ff39ee80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -183,6 +183,22 @@ jobs: if: always() run: cat test/.log/last/result-gh.md >> $GITHUB_STEP_SUMMARY + - name: Generate Test Report for x86_64${{ steps.vars.outputs.flv }} + # Ensure this runs even if Regression Test fails + if: always() + run: | + asciidoctor-pdf \ + --theme test/9pm/report/theme.yml \ + -a pdf-fontsdir=test/9pm/report/fonts \ + test/.log/last/report.adoc \ + -o test/.log/last/report.pdf + + - name: Upload Test Report as Artifact + uses: actions/upload-artifact@v3 + with: + name: test-report + path: test/.log/last/report.pdf + release: if: ${{github.repository_owner == 'kernelkit' && github.ref_name == 'main'}} name: Upload Latest Build