pytorch/codecov.yml
Jane (Yuan) Xu 07e8f48e6b Removing caffe2 and third_party from our code coverage (#47310)
Summary:
Our tests do not test these folders (as they shouldn't), and their inclusion in codecov obfuscates our coverage metrics.

We ask codecov to ignore these folders when calculating our coverage.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/47310

Reviewed By: walterddr

Differential Revision: D24711775

Pulled By: janeyx99

fbshipit-source-id: 6095bb5e8d52202c7930114d2f357163d2271022
2020-11-04 08:18:13 -08:00

23 lines
430 B
YAML

coverage:
status:
project:
default:
threshold: 1%
codecov:
notify:
after_n_builds: 2
comment:
layout: "diff"
behavior: once
require_changes: true
require_base: yes
require_head: yes
after_n_builds: 2
branches:
- "master"
fixes:
- "/opt/conda/lib/python3.8/site-packages/::project/"
- "C:/Users/circleci/project/build/win_tmp/build/::project/"
ignore:
- "caffe2"
- "third_party"