diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbfe110..4566f24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/') diff --git a/pyproject.toml b/pyproject.toml index f410135..2cb4a0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"