-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge reports of multiple checks #195
Comments
github recently added job summaries: this reads like it might solve this problem too. (also requires less permissions as bonus) |
You may want to try the following PR which adds ability configure multiple imports in one step: - name: Test Multi test import
uses: ./
if: endsWith(github.ref, 'main') == false
with:
check_name: |-
Example Multi JUnit Test Report
Example Multi Pytest Report
report_paths: |-
**/surefire-reports/TEST-*.xml
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
check_title_template: |-
{{SUITE_NAME}} | {{TEST_NAME}}
\n |
This is now included in v3.3.0 |
Hi @mikepenz! I couldn't make this new feature work for the original use case:
From what I see in your example in #195 (comment), you produce several sets of reports in the same job and use one action step to handle them all, via multiple My understanding was that now it's possible to run the action on multiple parallel jobs with the same Could you clarify how the new functionality covers the original use case and what's the intended usage? |
@laughedelic with the API you outlined, it's possible to have multiple reports imported at once. The idea is that this can be used if there are multiple different languages for example or different test report types. It's still possible to have individual runs though if this is preferred Given the way GitHub handles multiple parallel jobs, the action can't actually combine them this way directly.
|
Running many checks with different
check_name
will result in the sidebar to contain all those entries.It would be great if we could merge together the report so only one entry will be shown
Suggested by @iBotPeaches in this ticket:
#194
The text was updated successfully, but these errors were encountered: