This commit is contained in:
Will McGugan 2020-07-16 16:48:02 +01:00
parent d9c88e0aab
commit abcf82755d
2 changed files with 5 additions and 3 deletions

View File

@ -28,9 +28,10 @@ jobs:
- name: Test with pytest
run: |
pip install .
pytest tests/ -v --cov=rich --cov-report=xml --cov-append
pytest tests/ -v --cov=rich --cov-report=xml:./coverage-${{ matrix.os }}.xml --cov-append
- name: "Upload code coverage"
uses: codecov/codecov-action@v1
- name: Upload code coverage
uses: codecov/codecov-action@master
with:
file: ./coverage-${{ matrix.os }}.xml
name: rich

View File

@ -2,6 +2,7 @@
[![PyPI version](https://badge.fury.io/py/rich.svg)](https://badge.fury.io/py/rich)
[![PyPI](https://img.shields.io/pypi/pyversions/rich.svg)](https://pypi.org/project/rich/)
[![codecov](https://codecov.io/gh/willmcgugan/rich/branch/master/graph/badge.svg)](https://codecov.io/gh/willmcgugan/rich)
[![Rich blog](https://img.shields.io/badge/blog-rich%20news-yellowgreen)](https://www.willmcgugan.com/tag/rich/)
[![Twitter Follow](https://img.shields.io/twitter/follow/willmcgugan.svg?style=social)](https://twitter.com/willmcgugan)