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

Add verbosity flag to go tests on travis #3548

Merged
merged 4 commits into from Jan 22, 2020
Merged

Conversation

loosebazooka
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Jan 21, 2020

Codecov Report

Merging #3548 into master will increase coverage by 0.19%.
The diff coverage is n/a.

Impacted Files Coverage Δ
pkg/skaffold/initializer/config.go 100% <0%> (ø) ⬆️
pkg/skaffold/initializer/init.go 0% <0%> (ø) ⬆️
pkg/skaffold/initializer/prompt.go 0% <0%> (ø) ⬆️
pkg/skaffold/initializer/util.go
pkg/skaffold/schema/defaults/defaults.go 94.38% <0%> (+0.12%) ⬆️
pkg/skaffold/initializer/builders.go 94.2% <0%> (+0.76%) ⬆️
pkg/skaffold/initializer/analyze.go 87.23% <0%> (+4.88%) ⬆️

@loosebazooka loosebazooka added the kokoro:run runs the kokoro jobs on a PR label Jan 21, 2020
@nkubala nkubala added kokoro:run runs the kokoro jobs on a PR and removed kokoro:run runs the kokoro jobs on a PR labels Jan 21, 2020
@tejal29
Copy link
Member

tejal29 commented Jan 21, 2020

The flag only got applied to windows tests. Is there a reason for adding the -v flag ?

@loosebazooka
Copy link
Member Author

loosebazooka commented Jan 21, 2020

AFAIK, the -v flag prints out the reason the test failed (rather than just saying the test failed), this is nice for people who cannot mimic the test environment easy (ex: I do not have a mac to test mac failures on).

It should apply to all test environments.

@loosebazooka loosebazooka removed the kokoro:run runs the kokoro jobs on a PR label Jan 21, 2020
change commit message to trigger build
@tejal29
Copy link
Member

tejal29 commented Jan 21, 2020

AFAIK, the -v flag prints out the reason the test failed (rather than just saying the test failed), this is nice for people who cannot mimic the test environment easy (ex: I do not have a mac to test mac failures on).

It should apply to all test environments.

Ahh got it. Thanks!

@tejal29
Copy link
Member

tejal29 commented Jan 21, 2020

The linux job still does not have -v flag
https://travis-ci.com/GoogleContainerTools/skaffold/jobs/278134461#L236
Rest all (windows, OSX and integration test) have -v flag.

@tejal29
Copy link
Member

tejal29 commented Jan 21, 2020

Can you also add -v to coverage target used for linux profile.
https://github.com/GoogleContainerTools/skaffold/blob/master/Makefile#L111

Copy link
Member

@tejal29 tejal29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add -v to coverage target used for linux profile.
https://github.com/GoogleContainerTools/skaffold/blob/master/Makefile#L111

@loosebazooka
Copy link
Member Author

loosebazooka commented Jan 21, 2020

Do we want it on coverage, isn't that just to send to the coverage service? I put it on https://github.com/GoogleContainerTools/skaffold/blob/master/Makefile#L106 instead.

@loosebazooka
Copy link
Member Author

oh no you're right, needs to go on coverage.

@tejal29 tejal29 merged commit b5fd53a into master Jan 22, 2020
@briandealwis briandealwis deleted the verbose-test-on-travis branch April 14, 2020 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants