fixed missing coverage data

This commit is contained in:
Jonas Depoix 2024-11-11 16:01:35 +01:00
parent d631ceb03c
commit c738da22db
2 changed files with 2 additions and 3 deletions

View File

@ -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/')

View File

@ -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"