summaryrefslogtreecommitdiff
path: root/hack/golangci-lint.sh
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-04-02 15:25:19 -0500
committerBrent Baude <bbaude@redhat.com>2022-04-25 13:05:35 -0500
commit833456e079c31111a15fedaa3ccd7f852e89e508 (patch)
tree4e06007f5bec3c1cdc763a6b879ecebca5d75a29 /hack/golangci-lint.sh
parent6984a0f35704204fa15374aa2c133c4e6e0b366f (diff)
downloadpodman-833456e079c31111a15fedaa3ccd7f852e89e508.tar.gz
podman-833456e079c31111a15fedaa3ccd7f852e89e508.tar.bz2
podman-833456e079c31111a15fedaa3ccd7f852e89e508.zip
Add podman machine test suite
This PR introduces a test suite for podman machine. It can currently be run on developers' local machines and is not part of the official CI testing; however, the expectation is that any work on machine should come with an accompanying test. At present, the test must be run on Linux. It is untested on Darwin. There is no Makefile target for the test. It can be run like `ginkgo -v pkg/machine/test/.`. It should be run as a unprivileged user. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'hack/golangci-lint.sh')
-rwxr-xr-xhack/golangci-lint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/golangci-lint.sh b/hack/golangci-lint.sh
index bcb83a2fd..8b80bd9c9 100755
--- a/hack/golangci-lint.sh
+++ b/hack/golangci-lint.sh
@@ -10,9 +10,9 @@ BUILD_TAGS[abi]="${BUILD_TAGS[default]},!remoteclient"
BUILD_TAGS[tunnel]="${BUILD_TAGS[default]},remote,remoteclient"
declare -A SKIP_DIRS
-SKIP_DIRS[abi]=""
+SKIP_DIRS[abi]="pkg/machine/e2e"
# TODO: add "remote" build tag to pkg/api
-SKIP_DIRS[tunnel]="pkg/api"
+SKIP_DIRS[tunnel]="pkg/api,pkg/machine/e2e"
[[ $1 == run ]] && shift