This commit is contained in:
Will McGugan 2020-07-16 17:08:40 +01:00
parent 93cd936b58
commit 683770fb89
1 changed files with 4 additions and 3 deletions

View File

@ -28,12 +28,13 @@ jobs:
- name: Test with pytest - name: Test with pytest
run: | run: |
pip install . pip install .
pytest tests/ -v --cov=./rich --cov-report=xml:./coverage-${{ matrix.os }}.xml --cov-append pytest ./tests -v --cov=./rich --cov-report=xml:./coverage.xml
- name: Upload code coverage - name: Upload code coverage
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
with: with:
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage-${{ matrix.os }}.xml file: ./coverage.xml
name: rich name: rich
flags: unittests-${{ matrix.os }} flags: unittests
env_vars: OS,PYTHON