summaryrefslogtreecommitdiffstats
path: root/.codecov.yml
blob: 5dcd78afd4f2ff6d5ede1e75fe0e6ec9f683f96c (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---

codecov:
  notify:
    after_n_builds: 6  # Number of test matrix+lint jobs uploading coverage
    wait_for_ci: false

  require_ci_to_pass: false

  token: >-  # repo-scoped, upload-only, needed for stability in PRs from forks
    2b8c7a7a-7293-4a00-bf02-19bd55a1389b

comment:
  require_changes: true

coverage:
  range: 100..100
  status:
    patch:
      default:
        target: 100%
      pytest:
        target: 100%
        flags:
          - pytest
      typing:
        flags:
          - MyPy
    project:
      default:
        target: 100%
      lib:
        flags:
          - pytest
        paths:
          - awx/
        target: 75%
      tests:
        flags:
          - pytest
        paths:
          - tests/
          - >-
            **/test/
          - >-
            **/tests/
          - >-
            **/test/**
          - >-
            **/tests/**
        target: 95%
      typing:
        flags:
          - MyPy
        target: 100%

...