Accept no change of coverage

This commit is contained in:
Adrien Crivelli 2017-12-16 15:54:24 +09:00
parent a204e0c7ec
commit 04a8ddffa2
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 1 additions and 1 deletions

View File

@ -23,5 +23,5 @@ tools:
build_failure_conditions: build_failure_conditions:
- 'elements.rating(<= C).new.exists' # No new classes/methods with a rating of C or worse allowed - 'elements.rating(<= C).new.exists' # No new classes/methods with a rating of C or worse allowed
- 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity - 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity
- 'project.metric_change("scrutinizer.test_coverage", < 0)' # Code Coverage decreased from previous inspection - 'project.metric_change("scrutinizer.test_coverage", <= 0)' # Code Coverage decreased from previous inspection
- 'patches.label("Unused Use Statements").new.exists' # No new unused imports patches allowed - 'patches.label("Unused Use Statements").new.exists' # No new unused imports patches allowed