From e20ac4c6b76f7fe0bda94e1afb843e14e8270cd5 Mon Sep 17 00:00:00 2001 From: Luke Kingland <58986931+lkingland@users.noreply.github.com> Date: Fri, 12 Nov 2021 01:45:38 +0900 Subject: [PATCH] chore: build tag consistency (#654) The integration tests and unit tests are currently expected to be disjunct sets. While we may change to being additive in the future, this change makes us consistent by adding the integration exclusion tag to a few non-integration test files where it was currently missing. --- cloudevents/emitter_test.go | 3 +++ docker/credentials_helper_test.go | 3 +++ docker/pusher_test.go | 3 +++ knative/deployer_test.go | 3 +++ repository_test.go | 3 +++ 5 files changed, 15 insertions(+) diff --git a/cloudevents/emitter_test.go b/cloudevents/emitter_test.go index 31fbe631..a16ddbe6 100644 --- a/cloudevents/emitter_test.go +++ b/cloudevents/emitter_test.go @@ -1,3 +1,6 @@ +//go:build !integration +// +build !integration + package cloudevents import ( diff --git a/docker/credentials_helper_test.go b/docker/credentials_helper_test.go index 5e60f074..0c536f39 100644 --- a/docker/credentials_helper_test.go +++ b/docker/credentials_helper_test.go @@ -1,3 +1,6 @@ +//go:build !integration +// +build !integration + package docker import "testing" diff --git a/docker/pusher_test.go b/docker/pusher_test.go index d1f90fbc..d3c7caa4 100644 --- a/docker/pusher_test.go +++ b/docker/pusher_test.go @@ -1,3 +1,6 @@ +//go:build !integration +// +build !integration + package docker import ( diff --git a/knative/deployer_test.go b/knative/deployer_test.go index 68f184f0..43065e42 100644 --- a/knative/deployer_test.go +++ b/knative/deployer_test.go @@ -1,3 +1,6 @@ +//go:build !integration +// +build !integration + package knative import ( diff --git a/repository_test.go b/repository_test.go index a55aa405..e5a55d37 100644 --- a/repository_test.go +++ b/repository_test.go @@ -1,3 +1,6 @@ +//go:build !integration +// +build !integration + package function_test import (