codecov.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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:
  35. - "static/app/views/profiling/**"
  36. - component_id: "profiling_components"
  37. name: "Profiling Components"
  38. paths:
  39. - "src/sentry/static/sentry/app/components/profiling/**"
  40. - component_id: "profiling_utils"
  41. name: "Profiling Utils"
  42. paths:
  43. - "src/sentry/static/sentry/app/utils/profiling/**"
  44. flags:
  45. frontend:
  46. paths:
  47. - "static/app/"
  48. carryforward: true
  49. backend:
  50. paths:
  51. - "src/sentry/**/*.py"
  52. carryforward: true
  53. comment: false