File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,11 +94,15 @@ jobs:
9494
9595 - name : Smoke test from TestPyPI
9696 run : |
97- uvx --no-cache \
98- --index-url https://test.pypi.org/simple \
99- --extra-index-url https://pypi.org/simple \
100- --index-strategy unsafe-best-match \
101- "teradata-mcp-server==${{ needs.build.outputs.version }}" --version
97+ for i in 1 2 3 4 5; do
98+ uvx --no-cache \
99+ --index-url https://test.pypi.org/simple \
100+ --extra-index-url https://pypi.org/simple \
101+ --index-strategy unsafe-best-match \
102+ "teradata-mcp-server==${{ needs.build.outputs.version }}" --version && break
103+ echo "Attempt $i failed — waiting 30s for TestPyPI to index the package..."
104+ sleep 30
105+ done
102106
103107 publish-pypi :
104108 name : Publish to PyPI
@@ -121,4 +125,8 @@ jobs:
121125
122126 - name : Smoke test from PyPI
123127 run : |
124- uvx --no-cache "teradata-mcp-server==${{ needs.build.outputs.version }}" --version
128+ for i in 1 2 3 4 5; do
129+ uvx --no-cache "teradata-mcp-server==${{ needs.build.outputs.version }}" --version && break
130+ echo "Attempt $i failed — waiting 30s for PyPI to index the package..."
131+ sleep 30
132+ done
You can’t perform that action at this time.
0 commit comments