Skip to content

Commit 04fdf21

Browse files
committed
Added codecov reports.
Signed-off-by: Pavel Kirilin <[email protected]>
1 parent ed3129f commit 04fdf21

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,12 @@ jobs:
8080
POETRY_VIRTUALENVS_CREATE: false
8181
- name: Run pytest check
8282
run: poetry run pytest -vv -n auto --cov="taskiq_redis" .
83+
- name: Generate report
84+
run: poetry run coverage xml
85+
- name: Upload coverage reports to Codecov with GitHub Action
86+
uses: codecov/codecov-action@v3
87+
if: matrix.py_version == '3.9'
88+
with:
89+
token: ${{ secrets.CODECOV_TOKEN }}
90+
fail_ci_if_error: true
91+
verbose: true

0 commit comments

Comments
 (0)