Skip to content

Commit

Permalink
Merge pull request #753 from googlefonts/codecov
Browse files Browse the repository at this point in the history
[ci] Restore Codecov upload
  • Loading branch information
khaledhosny authored Nov 29, 2021
2 parents dd61cbf + b615b5a commit e80c09b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,20 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install tox
run: pip install tox coverage
- name: Test with tox
run: tox -e py
- name: Produce coverage files
run: |
coverage combine
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
file: coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
deploy:
# only run if the commit is tagged...
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit e80c09b

Please sign in to comment.