Skip to content

Commit

Permalink
config: add missing tests for new actions
Browse files Browse the repository at this point in the history
Signed-off-by: Galo Navarro <[email protected]>
  • Loading branch information
srvaroa committed Feb 20, 2023
1 parent 44042b1 commit d6fe366
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/action_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ func TestGetLabelerConfigV1(t *testing.T) {
"Test2",
},
},
{
Label: "TestDraft",
Draft: "True",
},
{
Label: "TestMergeable",
Mergeable: "True",
},
},
}

Expand Down
4 changes: 4 additions & 0 deletions test_data/config_v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ labels:
authors:
- "Test1"
- "Test2"
- label: "TestDraft"
draft: "True"
- label: "TestMergeable"
mergeable: "True"

0 comments on commit d6fe366

Please sign in to comment.