pytorch-lightning

Форк
0
/
.codecov.yml 
70 строк · 2.2 Кб
1
# Copyright The Lightning AI team.
2
#
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
# you may not use this file except in compliance with the License.
5
# You may obtain a copy of the License at
6
#
7
#     http://www.apache.org/licenses/LICENSE-2.0
8
#
9
# Unless required by applicable law or agreed to in writing, software
10
# distributed under the License is distributed on an "AS IS" BASIS,
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14

15
# see https://docs.codecov.io/docs/codecov-yaml
16
# Validation check:
17
# $ curl --data-binary @.codecov.yml https://codecov.io/validate
18

19
# https://docs.codecov.io/docs/codecovyml-reference
20
codecov:
21
  bot: "codecov-io"
22
  strict_yaml_branch: "yaml-config"
23
  require_ci_to_pass: yes
24
  notify:
25
    after_n_builds: 23
26
    wait_for_ci: yes
27
  # https://docs.codecov.io/docs/codecov-yaml#section-expired-reports
28
  max_report_age: off
29

30
coverage:
31
  precision: 0 # 2 = xx.xx%, 0 = xx%
32
  round: nearest # how coverage is rounded: down/up/nearest
33
  range: 40...100 # custom range of coverage colors from red -> yellow -> green
34
  status:
35
    # https://codecov.readme.io/v1.0/docs/commit-status
36
    project:
37
      default:
38
        informational: true
39
        target: 99% # specify the target coverage for each commit status
40
        threshold: 30% # allow this little decrease on project
41
        # https://github.com/codecov/support/wiki/Filtering-Branches
42
        # branches: master
43
        if_ci_failed: error
44
    # https://github.com/codecov/support/wiki/Patch-Status
45
    patch:
46
      default:
47
        informational: true
48
        target: 50% # specify the target "X%" coverage to hit
49
        threshold: 5% # allow this much decrease on patch
50
    changes: false
51

52
# https://docs.codecov.com/docs/github-checks#disabling-github-checks-patch-annotations
53
github_checks:
54
  annotations: false
55

56
parsers:
57
  gcov:
58
    branch_detection:
59
      conditional: true
60
      loop: true
61
      macro: false
62
      method: false
63
  javascript:
64
    enable_partials: false
65

66
comment:
67
  layout: header, diff
68
  require_changes: false
69
  behavior: default # update if exists else create new
70
  after_n_builds: 23
71

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.