File: codecov.yml

package info (click to toggle)
twisted 25.5.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,560 kB
  • sloc: python: 203,171; makefile: 200; sh: 92; javascript: 36; xml: 31
file content (42 lines) | stat: -rw-r--r-- 1,334 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
34
35
36
37
38
39
40
41
42
#
# For documentation: https://docs.codecov.io/docs/codecovyml-reference
# Twisted settings: https://codecov.io/gh/twisted/twisted/settings/yaml
#
# We want 100% coverage for new patches to make sure we are always increasing
# the coverage.
#
codecov:
  token: fb52015a-b78e-4d89-a6e0-a4829aea2efa
  require_ci_to_pass: yes
  notify:
    after_n_builds: 2  # tests (combined) + benchmarks
    wait_for_ci: false

coverage:
  precision: 2
  round: down
  status:
    patch:
      default:
        # New code should have 100% CI coverage as the minimum
        # quality assurance measurement.
        # If there is a good reason for new code not to have coverage,
        # add inline pragma comments.
        target: 100%
    project:
      default:
        # Temporary allow for a bit of slack in overall code coverage due to
        # swinging coverage that is not triggered by changes in a PR.
        # See: https://twistedmatrix.com/trac/ticket/10170
        threshold: 0.02%


# We don't want to receive general PR comments about coverage.
# We have the commit status checks and that should be enough.
# See https://docs.codecov.io/docs/pull-request-comments
comment: false

# See https://docs.codecov.io/docs/github-checks
github_checks:
  # We want codecov to send inline PR comments for missing coverage.
  annotations: true