# similar to scikit-learn .codecov.yml
comment: false

coverage:
  wait_for_ci: true

  status:
    project:
      default:
        # Commits pushed to the main branch should not make the overall
        # project coverage decrease by more than 1%:
        target: auto
        threshold: 1%
    patch:
      default:
        # Be tolerant on slight code coverage diff on PRs to limit
        # noisy red coverage status on GitHub PRs.
        # Note The coverage stats are still uploaded
        # to codecov so that PR reviewers can see uncovered lines
        # in the GitHub diff if they install the codecov browser
        # extension:
        # https://github.com/codecov/browser-extension
        target: auto
        threshold: 1%

ignore:
  - "skrub/_check_dependencies.py"
  - "**/setup.py"
