fixed missing coverage data
This commit is contained in:
parent
d631ceb03c
commit
c738da22db
|
@ -52,7 +52,7 @@ jobs:
|
|||
flag-name: run-python-${{ matrix.python-version }}
|
||||
parallel: true
|
||||
|
||||
report-coverage:
|
||||
coverage:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
@ -72,7 +72,7 @@ jobs:
|
|||
pip install poetry poethepoet
|
||||
poetry install --only test
|
||||
- name: Check coverage
|
||||
run: poe coverage-report
|
||||
run: poe coverage
|
||||
|
||||
publish:
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
|
|
|
@ -41,7 +41,6 @@ youtube_transcript_api = "youtube_transcript_api.__main__:main"
|
|||
test = "pytest youtube_transcript_api"
|
||||
ci-test.shell = "coverage run -m unittest discover && coverage xml"
|
||||
coverage.shell = "coverage run -m unittest discover && coverage report -m --fail-under=100"
|
||||
coverage-report = "coverage report -m --fail-under=100"
|
||||
format = "ruff format youtube_transcript_api"
|
||||
ci-format = "ruff format youtube_transcript_api --check"
|
||||
lint = "ruff check youtube_transcript_api"
|
||||
|
|
Loading…
Reference in New Issue