codecov.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. codecov:
  2. notify:
  3. # The minimum amount of codecov reporting checks that need to complete
  4. # For FE we have 5 checks and for BE we have 11
  5. # TODO: Remove this when we have support of after_n_builds per flag
  6. after_n_builds: 5
  7. # Setting coverage targets per flag
  8. coverage:
  9. status:
  10. project:
  11. default: false
  12. patch:
  13. default: false
  14. frontend:
  15. # codecov will not fail status checks for master
  16. only_pulls: true
  17. # This will be needed until codecov supports after_n_builds for flags
  18. informational: true # Do not fail the check
  19. target: 60%
  20. flags:
  21. - frontend
  22. backend:
  23. # codecov will not fail status checks for master
  24. only_pulls: true
  25. # This will be needed until codecov supports after_n_builds for flags
  26. informational: true # Do not fail the check
  27. target: 90%
  28. flags:
  29. - backend
  30. ignore:
  31. - src/*/migrations/
  32. - src/bitfield/
  33. - src/sentry/debug/
  34. - src/sentry/lint/
  35. - src/sentry/runner/
  36. - src/social_auth/
  37. - static/app/routes.tsx
  38. - tests/
  39. component_management:
  40. individual_components:
  41. # Profiling team components
  42. - component_id: "profiling_views"
  43. name: "Profiling Views"
  44. paths:
  45. - "static/app/views/profiling/**"
  46. - component_id: "profiling_components"
  47. name: "Profiling Components"
  48. paths:
  49. - "src/sentry/static/sentry/app/components/profiling/**"
  50. - component_id: "profiling_utils"
  51. name: "Profiling Utils"
  52. paths:
  53. - "src/sentry/static/sentry/app/utils/profiling/**"
  54. flags:
  55. frontend:
  56. paths:
  57. - "static/app/"
  58. carryforward: true
  59. backend:
  60. paths:
  61. - "src/sentry/**/*.py"
  62. carryforward: true
  63. comment: false