Skip to content

Commit

Permalink
fixed missing coverage data
Browse files Browse the repository at this point in the history
  • Loading branch information
jdepoix committed Nov 11, 2024
1 parent d631ceb commit c738da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
flag-name: run-python-${{ matrix.python-version }}
parallel: true

report-coverage:
coverage:
needs: test
runs-on: ubuntu-latest

Expand All @@ -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/')
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c738da2

Please sign in to comment.