Add test case for uv auth login in publish integration tests (#15592)

This commit is contained in:
Zanie Blue
2025-08-30 12:27:46 -05:00
parent cc4be0f2ba
commit 53599d9f56
2 changed files with 25 additions and 3 deletions
+6
View File
@@ -1865,6 +1865,12 @@ jobs:
env:
UV_TEST_PUBLISH_KEYRING: ${{ secrets.UV_TEST_PUBLISH_KEYRING }}
- name: "Add password to uv text store"
run: |
./uv auth login https://test.pypi.org/legacy/?astral-test-text-store --token ${UV_TEST_PUBLISH_TEXT_STORE}
env:
UV_TEST_PUBLISH_TEXT_STORE: ${{ secrets.UV_TEST_PUBLISH_TEXT_STORE }}
- name: "Publish test packages"
# `-p 3.12` prefers the python we just installed over the one locked in `.python_version`.
run: ./uv run -p "${PYTHON_VERSION}" scripts/publish/test_publish.py --uv ./uv all