1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 05:49:40 +02:00
portainer/api/pkg/libhelm/libhelmtest/integration.go

14 lines
304 B
Go
Raw Normal View History

2022-11-30 14:25:47 +13:00
package libhelmtest
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")
}
}