mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Try to add codecov
This commit is contained in:
parent
cfd869b797
commit
f149ab8d2d
1 changed files with 9 additions and 1 deletions
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue