Skip to content

Commit

Permalink
fix: mitigate test fail because lack private repo access
Browse files Browse the repository at this point in the history
Signed-off-by: ibotdotout <tkroputa@gmail.com>
  • Loading branch information
ibotdotout committed Oct 16, 2022
1 parent d4a9074 commit 82d9e00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions workflow/artifacts/git/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func TestGitArtifactDriver_Load(t *testing.T) {
assert.DirExists(t, path)
})
t.Run("PrivateRepo", func(t *testing.T) {
if os.Getenv("SKIP_PRIVATE_REPO") == "true" {
t.SkipNow()
}
t.Run("SSH", func(t *testing.T) {
if os.Getenv("CI") == "true" {
t.SkipNow()
Expand Down

0 comments on commit 82d9e00

Please sign in to comment.