updated test PyPi URL

This commit is contained in:
Jonas Depoix 2024-11-11 15:26:11 +01:00
parent 48cce90d5a
commit ee996f77f1
2 changed files with 2 additions and 2 deletions

View File

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

View File

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