codecov.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. component_management:
  30. individual_components:
  31. # Profiling team components
  32. - component_id: "profiling_views"
  33. name: "Profiling Views"
  34. paths: "static/app/views/profiling/**"
  35. - component_id: "profiling_components"
  36. name: "Profiling Components"
  37. paths: "src/sentry/static/sentry/app/components/profiling/**"
  38. - component_id: "profiling_utils"
  39. name: "Profiling Utils"
  40. paths: "src/sentry/static/sentry/app/utils/profiling/**"
  41. flags:
  42. frontend:
  43. paths:
  44. - "static/app/"
  45. carryforward: true
  46. backend:
  47. paths:
  48. - "src/sentry/**/*.py"
  49. carryforward: true
  50. comment: false