From 1a26a53a6ba374b4bb21fb9c1de25d8027844dc3 Mon Sep 17 00:00:00 2001 From: Rikard Blixt Date: Wed, 8 Nov 2023 10:14:08 +0100 Subject: [PATCH] Try to improve the pipeline --- .github/workflows/busted.yml | 11 +++++++++-- .github/workflows/luacheck.yml | 5 ++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/busted.yml b/.github/workflows/busted.yml index 81d80d2e19b..20171b5d5b4 100644 --- a/.github/workflows/busted.yml +++ b/.github/workflows/busted.yml @@ -13,7 +13,7 @@ jobs: - name: Setup lua uses: leafo/gh-actions-lua@v9 with: - luaVersion: "5.1" + luaVersion: '5.1' - name: Setup luarocks uses: leafo/gh-actions-luarocks@v4 @@ -25,4 +25,11 @@ jobs: - name: Run test uses: lunarmodules/busted@v2.2.0 with: - args: --run=ci + args: --run=ci --output=junit > busted.xml + + - name: Report test + uses: mikepenz/action-junit-report@v3 + if: always() + with: + report_paths: 'busted.xml' + check_name: 'Test Report' diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index b33889b243e..01a5010d7f8 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -13,7 +13,7 @@ jobs: - name: Setup lua uses: leafo/gh-actions-lua@v9 with: - luaVersion: "5.1" + luaVersion: '5.1' - name: Setup luarock uses: leafo/gh-actions-luarocks@v4 @@ -32,5 +32,4 @@ jobs: if: always() with: report_paths: 'report.xml' - check_name: 'junit-report' - annotate_notice: false + check_name: 'Lint Report'