codecov:
  require_ci_to_pass: false
  notify:
    after_n_builds: 5

comment: false

github_checks:
  annotations: false

coverage:
  range: 50..75
  round: down
  precision: 2
  status:
    patch:
      default:
        informational: yes
    project:
      default:
        target: 65%
        informational: true

ignore:
  # This is generated code.
  - coderd/database/models.go
  - coderd/database/queries.sql.go
  - coderd/database/databasefake
  # These are generated or don't require tests.
  - cmd
  - coderd/tunnel
  - coderd/database/dump
  - coderd/database/postgres
  - peerbroker/proto
  - provisionerd/proto
  - provisionersdk/proto
  - scripts
  - site/.storybook
  - rules.go
  # Packages used for writing tests.
  - cli/clitest
  - coderd/coderdtest
  - pty/ptytest
