Skip to content

Commit

Permalink
ci: adding report url
Browse files Browse the repository at this point in the history
  • Loading branch information
harshilgajera-crest committed Aug 20, 2024
1 parent ce92432 commit 7aa5bec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1224,9 +1224,11 @@ jobs:
errors=$(xmllint --xpath 'sum(//testsuite/@errors)' $junit_xml_path)
skipped=$(xmllint --xpath 'sum(//testsuite/@skipped)' $junit_xml_path)
passed=$((total_tests - failures - errors - skipped))
echo "## Summary for splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} test report" >> $GITHUB_STEP_SUMMARY
echo "| Total Tests | Passed Tests | Failed Tests | Errored Tests | Skipped Tests |" >> $GITHUB_STEP_SUMMARY
echo "| ----------- | ------------ | ------------ | ------------- | ------------- |" >> $GITHUB_STEP_SUMMARY
echo "| $total_tests | $passed | $failures | $errors | $skipped |" >> $GITHUB_STEP_SUMMARY
echo "### Link to html test report: ${{steps.test_report.outputs.url_html}}" >> $GITHUB_STEP_SUMMARY
- name: pull diag from s3 bucket
if: ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
Expand Down

0 comments on commit 7aa5bec

Please sign in to comment.