Skip to content

Commit

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

Signed-off-by: Petter Kvalvaag <pmkv@equinor.com>
  • Loading branch information
pettermk committed Feb 18, 2023
1 parent 047c014 commit d334409
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", "Cirrus CI",
"flutter-dashboard", "Cirrus CI", "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 d334409

Please sign in to comment.