-
Notifications
You must be signed in to change notification settings - Fork 94
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
remove redundant tests #1677
remove redundant tests #1677
Conversation
The 3 tests waiting to be reported are the ones I've removed in this PR. |
@@ -237,18 +237,6 @@ scan: | |||
--ignore-unfixed \ | |||
./ | |||
|
|||
.PHONY: lint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't the aim not to run golangci-lint in CI? I think we want to keep this, for manually running it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the message we got was that "Org wide, we are not recommending or using golangci-lint". As per this, I've removed it entirely. The results aren't that useful to us.
@@ -27,25 +27,6 @@ jobs: | |||
- name: Fails in order to indicate that pull request needs to be marked as ready to review and unit tests workflow needs to pass. | |||
run: exit 1 | |||
|
|||
test: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we ought to leave at least make vet
. we could add it to an existing action such as test-integration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go test
runs vet as step 1 regardless, iiuc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://pkg.go.dev/cmd/go/internal/test "As part of building a test binary, go test runs go vet on the package
and its test source files" - though it does run a subset.
The Makefile that is called with make test
includes the make vet
as a dependency, I'll add the same to make test-integration
.
4b03f8f
to
747c88e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I needed to update |
Description, Motivation and Context
Removes some test redundancy, and golangci-lint
Checklist
Does this PR introduce a breaking change?