Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed May 2, 2024
1 parent 18713cc commit 015fd03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ func testContainers() *ContainerSlice {
Name: "clone",
Number: 2,
Pull: "always",
IDRequest: "yes",
},
{
ID: "step_github/octocat._1_echo",
Expand Down
2 changes: 2 additions & 0 deletions yaml/step_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func TestYaml_StepSlice_ToPipeline(t *testing.T) {
Privileged: false,
Pull: "not_present",
ReportAs: "my-step",
IDRequest: "yes",
Ruleset: Ruleset{
If: Rules{
Branch: []string{"main"},
Expand Down Expand Up @@ -88,6 +89,7 @@ func TestYaml_StepSlice_ToPipeline(t *testing.T) {
Privileged: false,
Pull: "not_present",
ReportAs: "my-step",
IDRequest: "yes",
Ruleset: pipeline.Ruleset{
If: pipeline.Rules{
Branch: []string{"main"},
Expand Down

0 comments on commit 015fd03

Please sign in to comment.