Skip to content
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

Report size is too big, is there a way to summarize it? #738

Open
marinofelipe opened this issue Aug 7, 2023 · 1 comment
Open

Report size is too big, is there a way to summarize it? #738

marinofelipe opened this issue Aug 7, 2023 · 1 comment

Comments

@marinofelipe
Copy link

marinofelipe commented Aug 7, 2023

Hello, first and foremost thanks a lot for the tool 🙏

In the project I work on the report is always way bigger than GitHub's limit. Constantly leading to failures and reports that are incomplete and not so actionable besides the annotations. Example:

$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 8815k. For more information see https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary

The project is very modular, with 100+ modules and 8k+ unit tests, and due to the size of it the resulting test report only has a few modules shown.

I already limited as much as possible the output, by setting both show-passed-tests and show-code-coverage to false 👇 , but it's still quite over the limit

with:
  title: Test results
  show-passed-tests: false
  upload-bundles: never
  path: ./fastlane/test_output/Some-Workspace-merged.xcresult
  token: ***
  show-code-coverage: false

Question

Would you/or anybody that uses it be interested in a summarized report? That could be useful for similar large scale projects.

My suggestion would be to simplify the "Test Summary" section to do not list all test classes but rather the amount of successes and failures in the module level and potentially hide the Test Details section.

Example

SomeTestTarget

// device and SDK info also repeats often if using the same across the whole test suite, perhaps there could be an option to
// hide it or have a single entry for it when showing a summarized version of the report
Device: iPhone 14, 16.4 (20E247)
SDK: Simulator - iOS 16.4, 16.4

Total Success Failure Skipped Expected Failure Total time
340   337     2	      1	       0                2s

Similar issues

This may potentially be a duplication of #145

@CyonAlexRDX
Copy link

I want to hide "details" and "summary", because I only care about code coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants