Navigation Menu

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

Refactor test target #492

Merged
merged 1 commit into from May 20, 2021
Merged

Refactor test target #492

merged 1 commit into from May 20, 2021

Conversation

kuritka
Copy link
Collaborator

@kuritka kuritka commented May 19, 2021

test target runs unit tests only while check target runs golic + lint + test

Signed-off-by: kuritka kuritka@gmail.com

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

In which scenarios make check is going to be executed? Doesn't look obvious to me.

@kuritka
Copy link
Collaborator Author

kuritka commented May 19, 2021

In which scenarios make check is going to be executed? Doesn't look obvious to me.

It's implementation of yesterday's discussion with @somaritane, where make test would test only, doing no additional steps, while check is doing necessary checks.

make check is an optional step but would be executed before pushing to GitHub by developer. If make check is not executed and anything wrong, build pipeline will reveal the issue.

somaritane
somaritane previously approved these changes May 19, 2021
Copy link
Contributor

@somaritane somaritane left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

Ok, then please make it visible in make help and probably mention it in CONTRIBUTING.md ?

test: target runs unit tests only while check: target runs golic + lint + test

Signed-off-by: kuritka <kuritka@gmail.com>
@kuritka
Copy link
Collaborator Author

kuritka commented May 20, 2021

Ok, then please make it visible in make help and probably mention it in CONTRIBUTING.md ?

@ytsarev, thx amended

Copy link
Collaborator

@k0da k0da left a comment

Choose a reason for hiding this comment

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

LGTM

@kuritka kuritka merged commit ea71723 into master May 20, 2021
@kuritka kuritka deleted the refactor-test-target branch May 20, 2021 20:10
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

4 participants