Skip to content

Commit c1358da

Browse files
authored
chore: fix build and test tags (knative#2911)
The current build tagging system was predicated on the idea that integraion, e2e and unit tests are entirely separate. The correct way to treat these is as inclusive with unit tests. Thus this pr removes the exclusion of unit test from integration tests runs, treating -tags integration as indicating "unit tests plus integration tests".
1 parent 7eeef57 commit c1358da

23 files changed

+0
-69
lines changed

pkg/docker/creds/credentials_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package creds_test
52

63
import (

pkg/docker/pusher_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package docker_test
52

63
import (

pkg/docker/runner_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package docker_test
52

63
import (

pkg/functions/client_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package functions_test
52

63
import (

pkg/functions/config_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package functions_test
52

63
// Config tests do not have private access, as they are testing manifest

pkg/functions/function_envs_unit_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package functions
52

63
import (

pkg/functions/function_git_unit_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package functions
52

63
import (

pkg/functions/function_labels_unit_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package functions
52

63
import (

pkg/functions/function_migrations_unit_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package functions
52

63
import (

pkg/functions/function_options_unit_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !integration
2-
// +build !integration
3-
41
package functions
52

63
import (

0 commit comments

Comments
 (0)