Skip to content

Commit

Permalink
update run duration logic
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Nov 13, 2024
1 parent aee225a commit 9dc2b55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/connector-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ jobs:
job_output=$(cat ${json_output_file})
success=$(echo ${job_output} | jq -r '.success')
failed_jobs=$(echo ${job_output} | jq -r '.failed_steps')
run_duration=$(echo ${job_output} | jq -r '.run_duration')
echo "## Job Output for ${{matrix.connector}}" >> $GITHUB_STEP_SUMMARY
echo "- Success: ${success}" >> $GITHUB_STEP_SUMMARY
echo "- Test Duration: $(printf "%.0f" $run_duration)s" >> $GITHUB_STEP_SUMMARY
echo "- Test Duration: $(printf "%.0f" ${run_duration})s" >> $GITHUB_STEP_SUMMARY
echo "- Failed Checks: ${failed_jobs}" >> $GITHUB_STEP_SUMMARY
echo -e "\n[Download Job Output](${{steps.upload_job_output.outputs.artifact-url}})" >> $GITHUB_STEP_SUMMARY
if [ "${success}" != "true" ]; then
Expand Down

0 comments on commit 9dc2b55

Please sign in to comment.