new: check the package is importable before publish

This commit is contained in:
George Panchuk
2026-05-18 21:41:54 +07:00
parent d2196df5cd
commit 74e6d55e16

View File

@@ -33,6 +33,11 @@ jobs:
poetry install
- name: Build package
run: poetry build
- name: Smoke-test built package
run: |
python -m venv /tmp/smoke-venv
/tmp/smoke-venv/bin/pip install --quiet dist/*.whl
/tmp/smoke-venv/bin/python -c "from qdrant_client import QdrantClient; print('Import OK')"
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with: