coverage now is reported in cobertura format
This commit is contained in:
parent
3ecdcff082
commit
ed4068479c
|
@ -47,8 +47,8 @@ jobs:
|
|||
- name: Report intermediate coverage report
|
||||
uses: coverallsapp/github-action@v2
|
||||
with:
|
||||
file: .coverage
|
||||
format: python
|
||||
file: coverage.xml
|
||||
format: cobertura
|
||||
flag-name: run-python-${{ matrix.python-version }}
|
||||
parallel: true
|
||||
|
||||
|
|
|
@ -7,4 +7,5 @@ build
|
|||
*.egg-info
|
||||
upload_new_version.sh
|
||||
.coverage
|
||||
coverage.xml
|
||||
.DS_STORE
|
|
@ -39,7 +39,7 @@ youtube_transcript_api = "youtube_transcript_api.__main__:main"
|
|||
|
||||
[tool.poe.tasks]
|
||||
test = "pytest youtube_transcript_api"
|
||||
ci-test.shell = "coverage run -m unittest discover"
|
||||
ci-test.shell = "coverage run -m unittest discover && coverage xml"
|
||||
coverage.shell = "coverage run -m unittest discover && coverage report -m"
|
||||
format = "ruff format youtube_transcript_api"
|
||||
ci-format = "ruff format youtube_transcript_api --check"
|
||||
|
|
Loading…
Reference in New Issue