Skip to content

Commit

Permalink
Implement integration flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ioboi committed Apr 9, 2024
1 parent 839b4d9 commit 833970e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion argocd/repoClient_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
package argocd

import "testing"
import (
"flag"
"testing"
)

var integration = flag.Bool("integration", false, "run integration tests")

func TestRender(t *testing.T) {
if !*integration {
t.Skip("-integration not set")
}
err := Render("../testdata/argocd/helm_app.yaml", "reposerver:8081", "../out/argocd/app/", RepoCredentails{})
if err != nil {
t.Error(err)
Expand Down

0 comments on commit 833970e

Please sign in to comment.