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

[RFC] build-styles/go.sh: run go test -v ${go_project:-go_import_path} in do_check #34496

Closed
wants to merge 1 commit into from

Conversation

bobertlo
Copy link
Contributor

@bobertlo bobertlo commented Dec 12, 2021

There are 313 build_style=go packages, and currently 8 of them have tests defined in the package template.

I have been testing the go packages with this. So far, I have rebuilt 183 packages and there have been no errors and 64 packages have run tests successfully.

Ideally, more tests would be added (because they are a lot more common on internal libraries than command clients) but this is probably the safest default option.

EDIT: My script was setup wrong and some packages did fail. I am testing with only running tests on packages that have a go.mod and the pass rate is very high. I will see how this goes.

@bobertlo
Copy link
Contributor Author

I thought a majority of packages were rebuilding fine with this. I don't think I have any answer to this good enough to suggest inclusion in the buildstyle at this time so I am closing this..

@bobertlo bobertlo closed this Jan 29, 2022
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.

None yet

1 participant