Try to add codecov

This commit is contained in:
jrootjunior 2020-01-22 12:59:32 +02:00
parent cfd869b797
commit f149ab8d2d

View file

@ -42,4 +42,12 @@ jobs:
- name: Run tests
run: |
poetry run pytest
poetry run pytest --cov=aiogram --cov-config .coveragerc --cov-report=xml
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: py-${{ matrix.python-version }}-${{ matrix.os }}
fail_ci_if_error: true