diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed124ea..6260849 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,5 +84,5 @@ jobs: - name: Publish # TODO update repo and username/pw run: | - poetry config repositories.testpypi https://test.pypi.org/legacy/ + poetry config repositories.testpypi https://test.pypi.org/simple/ poetry publish -r testpypi -u __token__ -p ${{ secrets.PYPI_TOKEN_TEST }} diff --git a/pyproject.toml b/pyproject.toml index 4c7e04f..0215643 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ youtube_transcript_api = "youtube_transcript_api.__main__:main" [tool.poe.tasks] 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 --fail-under=100" coverage.shell = "coverage run -m unittest discover && coverage report -m" format = "ruff format youtube_transcript_api" ci-format = "ruff format youtube_transcript_api --check"