diff --git a/ci-operator/config/openshift/installer/master.json b/ci-operator/config/openshift/installer/master.json index 96b0f2c9ebbb4..544f163a41e24 100644 --- a/ci-operator/config/openshift/installer/master.json +++ b/ci-operator/config/openshift/installer/master.json @@ -41,7 +41,7 @@ { "as": "unit", "from": "src", - "commands": "go test ./installer/pkg/..." + "commands": "go test ./pkg/... ./installer/pkg/..." } ], diff --git a/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml b/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml index cb539b949209d..3f9734bce784b 100644 --- a/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml +++ b/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml @@ -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: