Browse Source

ci: add codecov restrictions

David Cramer 7 years ago
parent
commit
ea0ec9ad6d
1 changed files with 9 additions and 6 deletions
  1. 9 6
      codecov.yml

+ 9 - 6
codecov.yml

@@ -1,14 +1,17 @@
 coverage:
   status:
     project:
-      default:
-        target: 0%
+      default: false
     patch:
-      default:
-        target: 0%
+      default: false
+      python:
+        paths:
+        - "src/sentry"
+        target: 90%
   ignore:
   - src/sentry/lint/.*
   - src/.*?/migrations/.*
   - src/.*?/south_migrations/.*
-
-comment: false
+comment:
+  layout: "diff, files"
+  behavior: default