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

ci: Use gotestfmt to format go test output #220

Merged
merged 1 commit into from
Nov 18, 2024
Merged

ci: Use gotestfmt to format go test output #220

merged 1 commit into from
Nov 18, 2024

Conversation

adombeck
Copy link
Contributor

@adombeck adombeck commented Nov 13, 2024

TODO

UDENG-5208

@adombeck adombeck force-pushed the gotestfmt branch 6 times, most recently from 95a7624 to 8aeacff Compare November 14, 2024 14:27
@adombeck adombeck marked this pull request as ready for review November 14, 2024 14:33
@adombeck adombeck requested a review from a team as a code owner November 14, 2024 14:33
The output of go test is notoriously hard to read, especially when a lot
of tests are executed and a lot of output is produced, which is the case
in our CI.

This commit uses gotestfmt to format the go test output. It only prints
the output of failed tests to stdout, because that's what we're usually
interested in. In case we need the full test output, that's now uploaded
as an artifact.
@adombeck adombeck merged commit 28f390f into main Nov 18, 2024
3 of 4 checks passed
@adombeck adombeck deleted the gotestfmt branch November 18, 2024 21:43
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

Successfully merging this pull request may close these issues.

2 participants