mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-07-23 11:11:01 -05:00
new: check the package is importable before publish
This commit is contained in:
5
.github/workflows/python-publish.yml
vendored
5
.github/workflows/python-publish.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user