1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00
portainer/pkg/libhelm/test/integration.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
297 B
Go
Raw Permalink Normal View History

package test
import (
"os"
"testing"
)
// EnsureIntegrationTest disables live integration tests that prevent portainer CI checks from succeeding on github
func EnsureIntegrationTest(t *testing.T) {
if _, ok := os.LookupEnv("INTEGRATION_TEST"); !ok {
t.Skip("skip an integration test")
}
}