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

Improvements for gotestsum tool ci-matrix #287

Open
4 tasks
dnephin opened this issue Nov 26, 2022 · 0 comments
Open
4 tasks

Improvements for gotestsum tool ci-matrix #287

dnephin opened this issue Nov 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dnephin
Copy link
Member

dnephin commented Nov 26, 2022

#258 adds a new subcommand gotestsum tool ci-matrix for using the timing in test2json files to split all the packages into buckets of packages that can be run in parallel in github actions.

This issue is to track improvements to the new subcommand:

  • Add support for splitting a single package into buckets of tests ci-matrix: add partition-tests-inpackage #277 - useful for integration test packages that contain many slow tests
  • Support different output formats. The current format is optimized for integrating directly into github actions workflows. But the logic in this subcommand could also be used with other CI systems, or it might be integrate into existing tooling
  • Document gotestsum tool ci-matrix in the README.
  • Add a new --jsonfile-timing=<filename> flag to gotestsum as an alternative to --jsonfile. The file would include only the events for run, pass, and fail (no output events). This would significantly reduce the size of the files that need to be stored in artifacts and cache to calculate the partitioning of packages in future runs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant