File: .codecov.yml

package info (click to toggle)
python-trio 0.32.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,992 kB
  • sloc: python: 30,164; sh: 82; makefile: 25
file content (33 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -- repository yaml --

# Explicitly wait for all jobs to finish, as wait_for_ci prematurely triggers.
# See https://github.com/python-trio/trio/issues/2689
codecov:
  notify:
    # This number needs to be changed whenever the number of runs in CI is changed.
    # Another option is codecov-cli: https://github.com/codecov/codecov-cli#send-notifications
    after_n_builds: 31
    wait_for_ci: false
    notify_error: true # if uploads fail, replace cov comment with a comment with errors.
  require_ci_to_pass: false

  # Publicly exposing the token has some small risks from mistakes or malicious actors.
  # See https://docs.codecov.com/docs/codecov-tokens for correctly configuring it.
  token: 87cefb17-c44b-4f2f-8b30-1fff5769ce46

# only post PR comment if coverage changes
comment:
  require_changes: true

coverage:
  # required range
  precision: 5
  round: down
  range: 100..100
  status:
    project:
      default:
        target: 100%
    patch:
      default:
        target: 100%  # require patches to be 100%