Skip to content

Commit d7c0a28

Browse files
committed
✅ Skip integration tests _even harder_.
1 parent 2abb87a commit d7c0a28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

integration/suite_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ func TestIntegration(t *testing.T) {
4343
var _ = BeforeSuite(func(done Done) {
4444
logf.SetLogger(zap.LoggerTo(GinkgoWriter, true))
4545

46+
if os.Getenv("INTEGRATION_EXTERNAL_NAME") == "" {
47+
Skip("Integration tests require $INTEGRATION_EXTERNAL_NAME and $INTEGRATION_IMAGE_NAME")
48+
}
49+
4650
By("bootstrapping test environment")
4751
suiteHelper = cu.Functional().
4852
API(migrationsv1beta1.AddToScheme).

0 commit comments

Comments
 (0)