codecov.yml 762 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Setting coverage targets per flag
  2. coverage:
  3. status:
  4. project:
  5. default: false
  6. patch:
  7. default: false
  8. frontend:
  9. # codecov will not fail status checks for master
  10. only_pulls: true
  11. target: 60%
  12. flags:
  13. - frontend
  14. backend:
  15. # codecov will not fail status checks for master
  16. only_pulls: true
  17. target: 90%
  18. flags:
  19. - backend
  20. ignore:
  21. - src/*/migrations/
  22. - src/bitfield/
  23. - src/sentry/debug/
  24. - src/sentry/lint/
  25. - src/sentry/runner/
  26. - src/social_auth/
  27. - static/app/routes.tsx
  28. - tests/
  29. flags:
  30. frontend:
  31. paths:
  32. - "static/app/"
  33. carryforward: true
  34. backend:
  35. paths:
  36. - "src/sentry/**/*.py"
  37. carryforward: true
  38. comment: false