Skip to content

Commit

Permalink
Add Azure Devops as valid CI system
Browse files Browse the repository at this point in the history
Fixes #2661

Signed-off-by: Petter Kvalvaag <[email protected]>
  • Loading branch information
Petter Kvalvaag committed Feb 14, 2023
1 parent 72d50c0 commit 7b9f0dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion checks/evaluation/ci_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func isTest(s string) bool {
for _, pattern := range []string{
"appveyor", "buildkite", "circleci", "e2e", "github-actions", "jenkins",
"mergeable", "packit-as-a-service", "semaphoreci", "test", "travis-ci",
"flutter-dashboard",
"flutter-dashboard", "azure-pipelines",
} {
if strings.Contains(l, pattern) {
return true
Expand Down
7 changes: 7 additions & 0 deletions checks/evaluation/ci_tests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ func Test_isTest(t *testing.T) {
},
want: true,
},
{
name: "azure-pipelines",
args: args{
s: "azure-pipelines",
},
want: true,
},
{
name: "non-existing",
args: args{
Expand Down

0 comments on commit 7b9f0dd

Please sign in to comment.