.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 <richard@bit42.se>
This commit is contained in:
Richard Alpe
2023-10-02 11:22:47 +02:00
committed by Joachim Wiberg
parent ac0ef1d179
commit 7ee49e60a5
+7 -5
View File
@@ -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