Skip to content

Commit 2debcd1

Browse files
authored
Added coverage reports
2 parents ed3129f + b063514 commit 2debcd1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Testing taskiq-redis
22

33
on:
4-
push:
54
pull_request:
65

76
jobs:
@@ -80,3 +79,12 @@ jobs:
8079
POETRY_VIRTUALENVS_CREATE: false
8180
- name: Run pytest check
8281
run: poetry run pytest -vv -n auto --cov="taskiq_redis" .
82+
- name: Generate report
83+
run: poetry run coverage xml
84+
- name: Upload coverage reports to Codecov with GitHub Action
85+
uses: codecov/codecov-action@v3
86+
if: matrix.py_version == '3.9'
87+
with:
88+
token: ${{ secrets.CODECOV_TOKEN }}
89+
fail_ci_if_error: true
90+
verbose: true

0 commit comments

Comments
 (0)