feat: Initial remote table implementation for rust (#1024)

This will eventually replace the remote table implementations in python
and node.
This commit is contained in:
Weston Pace
2024-02-29 10:55:49 -08:00
committed by GitHub
parent 245786fed7
commit 294c33a42e
18 changed files with 376 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ jobs:
python-version: "3.11"
- name: Install ruff
run: |
pip install ruff
pip install ruff==0.2.2
- name: Format check
run: ruff format --check .
- name: Lint

View File

@@ -0,0 +1,37 @@
name: LanceDb Cloud Integration Test
on:
workflow_run:
workflows: [Rust]
types:
- completed
env:
LANCEDB_PROJECT: ${{ secrets.LANCEDB_PROJECT }}
LANCEDB_API_KEY: ${{ secrets.LANCEDB_API_KEY }}
LANCEDB_REGION: ${{ secrets.LANCEDB_REGION }}
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
working-directory: rust
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- uses: Swatinem/rust-cache@v2
with:
workspaces: rust
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y protobuf-compiler libssl-dev
- name: Build
run: cargo build --all-features
- name: Run Integration test
run: cargo test --tests -- --ignored

View File

@@ -119,3 +119,4 @@ jobs:
$env:VCPKG_ROOT = $env:VCPKG_INSTALLATION_ROOT
cargo build
cargo test