codecov.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. target: 60%
  18. flags:
  19. - frontend
  20. backend:
  21. # codecov will not fail status checks for master
  22. only_pulls: true
  23. target: 90%
  24. flags:
  25. - backend
  26. ignore:
  27. - src/*/migrations/
  28. - src/bitfield/
  29. - src/sentry/debug/
  30. - src/sentry/lint/
  31. - src/sentry/runner/
  32. - src/social_auth/
  33. - static/app/routes.tsx
  34. - tests/
  35. component_management:
  36. individual_components:
  37. # Profiling team components
  38. - component_id: "profiling_views"
  39. name: "Profiling Views"
  40. paths:
  41. - "static/app/views/profiling/**"
  42. - component_id: "profiling_components"
  43. name: "Profiling Components"
  44. paths:
  45. - "src/sentry/static/sentry/app/components/profiling/**"
  46. - component_id: "profiling_utils"
  47. name: "Profiling Utils"
  48. paths:
  49. - "src/sentry/static/sentry/app/utils/profiling/**"
  50. flags:
  51. frontend:
  52. paths:
  53. - "static/app/"
  54. carryforward: true
  55. backend:
  56. paths:
  57. - "src/sentry/**/*.py"
  58. carryforward: true
  59. comment: false