From 7ee49e60a51b02119110daae6375267d2b5efb07 Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Mon, 2 Oct 2023 10:01:16 +0200 Subject: [PATCH] .github: use gh result file in separate run cmd Use the new fancy result-gh.md file which as github emojis. Also, split result publishing to its own run command to simplify the YAML file. Signed-off-by: Richard Alpe --- .github/workflows/regression.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 02a44a59..5f653d13 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -61,9 +61,11 @@ jobs: uses: actions/upload-artifact@v3 with: path: output/${{ steps.vars.outputs.tgz }} + - name: Regression Test - run: | - rc=true - make test-qeneth || rc=false - cat test/.log/last/result.md >> $GITHUB_STEP_SUMMARY - eval $rc + run: make test-qeneth + + - name: Publish Test Result + # Ensure this runs even if Regression Test fails + if: always() + run: cat test/.log/last/result-gh.md >> $GITHUB_STEP_SUMMARY