mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-06 03:42:57 +00:00
This changes `lancedb` from a "pure python" setuptools project to a maturin project and adds a rust lancedb dependency. The async python client is extremely minimal (only `connect` and `Connection.table_names` are supported). The purpose of this PR is to get the infrastructure in place for building out the rest of the async client. Although this is not technically a breaking change (no APIs are changing) it is still a considerable change in the way the wheels are built because they now include the native shared library.
18 lines
436 B
YAML
18 lines
436 B
YAML
name: run-tests
|
|
|
|
description: "Install lance wheel and run unit tests"
|
|
inputs:
|
|
python-minor-version:
|
|
required: true
|
|
description: "8 9 10 11 12"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install lancedb
|
|
shell: bash
|
|
run: |
|
|
pip3 install $(ls target/wheels/lancedb-*.whl)[tests,dev,embeddings]
|
|
- name: pytest
|
|
shell: bash
|
|
run: pytest -m "not slow" -x -v --durations=30 python/python/tests
|