Skip to content

Commit

Permalink
fix test to not fail unrelated
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed Aug 15, 2023
1 parent a32f2e3 commit af47406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipeline/frontend/yaml/compiler/compiler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/woodpecker-ci/woodpecker/pipeline/frontend/metadata"
yaml_types "github.com/woodpecker-ci/woodpecker/pipeline/frontend/yaml/types"
yaml_base_types "github.com/woodpecker-ci/woodpecker/pipeline/frontend/yaml/types/base"
"github.com/woodpecker-ci/woodpecker/shared/constant"
)

func TestSecretAvailable(t *testing.T) {
Expand Down Expand Up @@ -89,7 +90,7 @@ func TestCompilerCompile(t *testing.T) {
Name: "test_clone",
Alias: "clone",
Type: backend_types.StepTypeClone,
Image: "docker.io/woodpeckerci/plugin-git:2.1.0",
Image: constant.DefaultCloneImage,
OnSuccess: true,
Failure: "fail",
Volumes: []string{defaultVolumes[0].Name + ":"},
Expand Down

0 comments on commit af47406

Please sign in to comment.