Skip to content

Commit

Permalink
Merge pull request #641 from mikepenz/feature/639
Browse files Browse the repository at this point in the history
Fix default for `job_summary` - should be `true`
  • Loading branch information
mikepenz authored Aug 20, 2022
2 parents 26221d7 + 3fdd534 commit 44dce0f
Show file tree
Hide file tree
Showing 6 changed files with 682 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ jobs:
report_paths: '**/surefire-reports/TEST-*.xml'
summary: '<table><thead><tr><th> Application (src/applications) </th></tr></thead><tbody><tr><td> test </td></tr></tbody></table>'
check_title_template: '{{SUITE_NAME}} | {{TEST_NAME}}'

- name: Test PyTest test import
uses: ./
if: endsWith(github.ref, 'main') == false
with:
check_name: Example Pytest Report
report_paths: test_results/python/report.xml
include_passed: true
detailed_summary: true

- name: Test Multi test import
uses: ./
Expand All @@ -43,7 +45,7 @@ jobs:
test_results/python/report.xml
summary: |-
<table><thead><tr><th> Application (src/applications) </th></tr></thead><tbody><tr><td> multi test </td></tr></tbody></table>
\n
Custom Summary
check_title_template: |-
{{SUITE_NAME}} | {{TEST_NAME}}
\n
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ inputs:
job_summary:
description: 'Enables the publishing of a JOB_SUMMARY with the report.'
required: false
default: false
default: true
detailed_summary:
description: 'Include table with all test results in summary'
required: false
Expand Down
Loading

0 comments on commit 44dce0f

Please sign in to comment.