1
0

.codecov.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. codecov:
  2. ci:
  3. - drone.saltstack.com
  4. - jenkinsci.saltstack.com
  5. branch: 2019.2
  6. notify:
  7. require_ci_to_pass: no
  8. ignore:
  9. - ^*.py$
  10. - doc/.*
  11. - tests/.*
  12. coverage:
  13. round: up
  14. range: 70..100
  15. precision: 2
  16. status:
  17. project: # measuring the overall project coverage
  18. default:
  19. enabled: yes # must be yes|true to enable this status
  20. if_no_uploads: error # will post commit status of "error" if no coverage reports we uploaded
  21. # options: success, error, failure
  22. if_not_found: success # if parent is not found report status as success, error, or failure
  23. if_ci_failed: success # if ci fails report status as success, error, or failure
  24. patch: # pull requests only: this commit status will measure the
  25. # entire pull requests Coverage Diff. Checking if the lines
  26. # adjusted are covered at least X%.
  27. default:
  28. enabled: no # must be yes|true to enable this status
  29. target: 80% # specify the target "X%" coverage to hit
  30. if_no_uploads: error # will post commit status of "error" if no coverage reports we uploaded
  31. # options: success, error, failure
  32. if_not_found: success
  33. if_ci_failed: success
  34. changes: # if there are any unexpected changes in coverage
  35. default:
  36. enabled: no # must be yes|true to enable this status
  37. if_no_uploads: success
  38. if_not_found: success
  39. if_ci_failed: success
  40. # No commends because we're not yet running the full test suite on PRs
  41. comment: off