Skip to content

Commit

Permalink
add extra to report in summary if needed (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: dhuangnm <[email protected]>
  • Loading branch information
dhuangnm and dhuangnm authored Sep 26, 2024
1 parent 3b77d67 commit 7fdc658
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions actions/summary-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ inputs:
test_status:
description: status from test step
required: true
extra:
description: extra info to add in the summary
required: false

runs:
using: composite
Expand All @@ -43,6 +46,9 @@ runs:
echo "| python: | ${{ inputs.python }} |" >> $GITHUB_STEP_SUMMARY
echo "| whl: | ${{ inputs.whl }} |" >> $GITHUB_STEP_SUMMARY
echo "| test: | ${TEST_EMOJI} |" >> $GITHUB_STEP_SUMMARY
if [ ! -z "${{ inputs.extra }}" ]; then
echo "| extra: | ${{ inputs.extra }} |" >> $GITHUB_STEP_SUMMARY
fi
echo "" >> $GITHUB_STEP_SUMMARY
echo "#### TestMo URL: ${{ inputs.testmo_run_url }}" >> $GITHUB_STEP_SUMMARY
shell: bash

0 comments on commit 7fdc658

Please sign in to comment.