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

fly-by: Allow specifying packages to test #83

Merged
merged 2 commits into from
Jan 24, 2024
Merged

fly-by: Allow specifying packages to test #83

merged 2 commits into from
Jan 24, 2024

Conversation

avorima
Copy link
Collaborator

@avorima avorima commented Jan 24, 2024

Issue #, if available:

I wanted to test the webhook package, but found there was no easy way of running the tests because it needs envtest binaries.

Description of changes:

Add Makefile variable WHAT that controls what tests should be run. Defaults to ./....
WHAT must be a valid go package specification.

Also updated the envtest k8s version to 1.28.0, because the go.mod uses 1.28.X.

Testing performed:

I ran make test with different values of WHAT locally.

@avorima avorima merged commit 01b3f7f into main Jan 24, 2024
6 checks passed
@avorima avorima deleted the make-test-what branch January 24, 2024 13:05
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

2 participants