Append token to codecov.yml instead of duplicating the file

This commit is contained in:
Bruno Oliveira
2020-01-14 07:47:21 -03:00
parent a3bc6df950
commit d291905825
4 changed files with 37 additions and 16 deletions

View File

@@ -137,7 +137,7 @@ jobs:
- name: Prepare coverage token
if: success() && !matrix.skip_coverage && ( github.repository == 'pytest-dev/pytest' || github.event_name == 'pull_request' )
run: |
cp .github/codecov-upstream.yml codecov.yml
python scripts/append_codecov_token.py
- name: Combine coverage
if: success() && !matrix.skip_coverage