Add Python code coverage (#43600)

Summary:
Replace  `test` with  `coverage_test` stage for `pytorch-linux-bionic-py3.8-gcc9` configuration
Add `coverage.xml` to the list of ignored files
Add `codecov.yml` that maps installed pytorch folders back to original locations
Cleanup coverage option utilization in `run_test.py` and adapt it towards combining coverage reports across the runs

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

Reviewed By: seemethere

Differential Revision: D23351877

Pulled By: malfet

fbshipit-source-id: acf78ae4c8f3e23920a76cce1d50f2821b83eb06
This commit is contained in:
Nikita Shulga
2020-08-26 16:14:17 -07:00
committed by Facebook GitHub Bot
parent 88e35fb8bd
commit 1bda5e480c
8 changed files with 96 additions and 40 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@
## PyTorch
.coverage
coverage.xml
.gradle
.hypothesis
.mypy_cache