mirror of
https://github.com/Dineshkarthik/telegram_media_downloader.git
synced 2024-12-31 03:01:46 +08:00
add: codecov coverage
This commit is contained in:
parent
ce5201b2ed
commit
ca90f7f3f6
1 changed files with 10 additions and 1 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -25,4 +25,13 @@ jobs:
|
|||
- name: Static Type Check - Mypy
|
||||
run: make static_type_check
|
||||
- name: Test with pytest
|
||||
run: make test
|
||||
run: make test
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
file: /tmp/coverage/media-downloader.xml
|
||||
flags: unittests
|
||||
env_vars: OS,PYTHON
|
||||
name: codecov-umbrella
|
||||
fail_ci_if_error: true
|
Loading…
Reference in a new issue