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 }}
|
flag-name: run-python-${{ matrix.python-version }}
|
||||||
parallel: true
|
parallel: true
|
||||||
|
|
||||||
report-coverage:
|
coverage:
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ jobs:
|
||||||
pip install poetry poethepoet
|
pip install poetry poethepoet
|
||||||
poetry install --only test
|
poetry install --only test
|
||||||
- name: Check coverage
|
- name: Check coverage
|
||||||
run: poe coverage-report
|
run: poe coverage
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
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"
|
test = "pytest youtube_transcript_api"
|
||||||
ci-test.shell = "coverage run -m unittest discover && coverage xml"
|
ci-test.shell = "coverage run -m unittest discover && coverage xml"
|
||||||
coverage.shell = "coverage run -m unittest discover && coverage report -m --fail-under=100"
|
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"
|
format = "ruff format youtube_transcript_api"
|
||||||
ci-format = "ruff format youtube_transcript_api --check"
|
ci-format = "ruff format youtube_transcript_api --check"
|
||||||
lint = "ruff check youtube_transcript_api"
|
lint = "ruff check youtube_transcript_api"
|
||||||
|
|
Loading…
Reference in New Issue