Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci-operator/config/openshift/installer/master.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{
"as": "unit",
"from": "src",
"commands": "go test ./installer/pkg/..."
"commands": "go test ./pkg/... ./installer/pkg/..."
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not ./... ?

Copy link
Member Author

@wking wking Aug 27, 2018

Choose a reason for hiding this comment

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

Why not ./... ?

We are currently leaning on Go's test framework for smoke tests. We may drop those soon in favor of more e2e-aws coverage (#1271 is groundwork for this expansion), but until then we need to keep this job out of tests/smoke. A white-list like this is one way to do that.

There may also be blacklist approaches, but I think we'd need to include find in our invocation if we wanted to do that. Or maybe leaning on your go list suggestion?

}
],

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,8 @@ presubmits:
spec:
containers:
- args:
- ./hack/go-lint.sh
- installer/...
- tests/smoke
- -c
- ./hack/go-lint.sh $(go list -f '{{ .ImportPath }}' ./...)
command:
- sh
env:
Expand Down