Skip to content

Commit 01e4693

Browse files
authored
chore(test): skip nightly IAM test relying on organization owner (#4843)
1 parent 1167d12 commit 01e4693

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/namespaces/iam/v1alpha1/custom_iam_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package iam_test
22

33
import (
4+
"os"
45
"testing"
56

67
"github.com/scaleway/scaleway-cli/v2/core"
@@ -10,6 +11,10 @@ import (
1011
)
1112

1213
func Test_iamAPIKeyGet(t *testing.T) {
14+
if isNightly := os.Getenv("SLACK_WEBHOOK_NIGHTLY"); isNightly != "" {
15+
t.Skip()
16+
}
17+
1318
commands := iam.GetCommands()
1419
commands.Merge(account.GetCommands())
1520

0 commit comments

Comments
 (0)