Skip to content

Commit c1e9937

Browse files
authored
PYTHON-5924 Remove TestPyPI upload from release (#2932)
1 parent a706c06 commit c1e9937

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/release-python.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ jobs:
7979
with:
8080
name: all-dist-${{ github.run_id }}
8181
path: dist/
82-
- name: Publish package distributions to TestPyPI
83-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
84-
with:
85-
repository-url: https://test.pypi.org/legacy/
86-
skip-existing: true
87-
attestations: ${{ env.DRY_RUN }}
8882
- name: Publish package distributions to PyPI
8983
if: startsWith(env.DRY_RUN, 'false')
9084
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1

.github/workflows/test-python.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ jobs:
5353
- name: Run synchro smoke test
5454
run: |
5555
uv run --extra test --with unasync pytest tools/test_synchro.py -v --override-ini="addopts="
56+
- name: Validate pyproject.toml
57+
run: |
58+
uvx --from 'validate-pyproject[all]' validate-pyproject pyproject.toml
59+
- name: Check package metadata
60+
run: |
61+
uv build
62+
uvx twine check --strict dist/*
5663
- run: |
5764
sudo apt-get install -y cppcheck
5865
- run: |

0 commit comments

Comments
 (0)