Archived
Fix bad test in tag check.
Lint Checks / Run linter (pull_request) Successful in 44s
Smoke Test / Run basic test suite (pull_request) Successful in 3m58s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m59s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m27s
Lint Checks / Run linter (pull_request) Successful in 44s
Smoke Test / Run basic test suite (pull_request) Successful in 3m58s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m59s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m27s
This commit is contained in:
@@ -355,11 +355,13 @@ def generate_hostname_for_app(app):
|
||||
|
||||
def skip_by_tag(r, include_tags, exclude_tags):
|
||||
for tag in exclude_tags:
|
||||
if tag and r.attributes.tags and tag in r.attributes.tags:
|
||||
if r.attributes.tags and tag in r.attributes.tags:
|
||||
return True
|
||||
|
||||
for tag in include_tags:
|
||||
if tag and (not r.attributes.tags or tag not in r.attributes.tags):
|
||||
return True
|
||||
if include_tags:
|
||||
for tag in include_tags:
|
||||
if r.attributes.tags and tag in r.attributes.tags:
|
||||
return False
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user