mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-22 21:09:58 +00:00
Exposes `storage_options` in LanceDB. This is provided for Python async, Node `lancedb`, and Node `vectordb` (and Rust of course). Python synchronous is omitted because it's not compatible with the PyArrow filesystems we use there currently. In the future, we will move the sync API to wrap the async one, and then it will get support for `storage_options`. 1. Fixes #1168 2. Closes #1165 3. Closes #1082 4. Closes #439 5. Closes #897 6. Closes #642 7. Closes #281 8. Closes #114 9. Closes #990 10. Deprecating `awsCredentials` and `awsRegion`. Users are encouraged to use `storageOptions` instead.
32 lines
969 B
YAML
32 lines
969 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"
|
|
integration:
|
|
required: false
|
|
description: "Run integration tests"
|
|
default: "false"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install lancedb
|
|
shell: bash
|
|
run: |
|
|
pip3 install $(ls target/wheels/lancedb-*.whl)[tests,dev]
|
|
- name: Setup localstack for integration tests
|
|
if: ${{ inputs.integration == 'true' }}
|
|
shell: bash
|
|
working-directory: .
|
|
run: docker compose up --detach --wait
|
|
- name: pytest (with integration)
|
|
shell: bash
|
|
if: ${{ inputs.integration == 'true' }}
|
|
run: pytest -m "not slow" -x -v --durations=30 python/python/tests
|
|
- name: pytest (no integration tests)
|
|
shell: bash
|
|
if: ${{ inputs.integration != 'true' }}
|
|
run: pytest -m "not slow and not s3_test" -x -v --durations=30 python/python/tests
|