Skip to content

Commit d95e0ee

Browse files
committed
temporarily disable testpypi upload
1 parent 1297570 commit d95e0ee

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/pypi-release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ jobs:
3131
3232
- name: Build the dist files
3333
run: python -m build .
34-
35-
- name: Publish to the test PyPI
36-
env:
37-
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
38-
run: twine upload dist/* --skip-existing --repository=testpypi
34+
#
35+
# - name: Publish to the test PyPI
36+
# env:
37+
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
38+
# run: twine upload dist/* --skip-existing --repository=testpypi
3939

4040
- name: Get tag name
4141
id: get_tag_name
4242
run: |
4343
echo TAG_NAME=$(grep '^version' pyproject.toml | head -1 | cut -d '"' -f 2) >> $GITHUB_OUTPUT
4444
45-
- name: Test installing from test PyPI and running tests
46-
# install the wheel we just uploaded to testpypi directly, and all other dependencies from normal pypi
47-
# uses the version number to fetch the url of the .whl file
48-
run: |
49-
python -m pip install uv
50-
uv pip install --system datatrove[testing]@$(curl -s https://test.pypi.org/simple/datatrove/ | grep ${{ steps.get_tag_name.outputs.TAG_NAME }}-py3 | sed -nE 's/.*href="([^"]+)".*/\1/p')
51-
python -m nltk.downloader punkt
52-
python -m pytest -sv ./tests/
45+
# - name: Test installing from test PyPI and running tests
46+
# # install the wheel we just uploaded to testpypi directly, and all other dependencies from normal pypi
47+
# # uses the version number to fetch the url of the .whl file
48+
# run: |
49+
# python -m pip install uv
50+
# uv pip install --system datatrove[testing]@$(curl -s https://test.pypi.org/simple/datatrove/ | grep ${{ steps.get_tag_name.outputs.TAG_NAME }}-py3 | sed -nE 's/.*href="([^"]+)".*/\1/p')
51+
# python -m nltk.downloader punkt
52+
# python -m pytest -sv ./tests/
5353

5454
- name: Tag the release
5555
uses: actions/github-script@v7

0 commit comments

Comments
 (0)