Skip to content

Commit c9c841d

Browse files
committed
Merge branch 'main' into feature/paral_fts
2 parents d1bfe5a + 9203377 commit c9c841d

File tree

117 files changed

+7278
-3687
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+7278
-3687
lines changed

.github/workflows/docs-check.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
pull_request:
77
paths:
88
- docs/**
9+
- python/python/**
910
- .github/workflows/docs-check.yml
1011

1112
env:
@@ -26,7 +27,7 @@ jobs:
2627
- name: Set up Python
2728
uses: actions/setup-python@v5
2829
with:
29-
python-version: "3.11"
30+
python-version: "3.12"
3031
cache: 'pip'
3132
cache-dependency-path: "docs/requirements.txt"
3233
- name: Install dependencies
@@ -35,10 +36,14 @@ jobs:
3536
- name: Build python wheel
3637
uses: ./.github/workflows/build_linux_wheel
3738
- name: Build Python
38-
working-directory: python
39+
working-directory: docs
40+
run: |
41+
python -m pip install $(ls ../python/target/wheels/*.whl)
42+
python -m pip install -r requirements.txt
43+
- name: Run test
44+
working-directory: docs
3945
run: |
40-
python -m pip install $(ls target/wheels/*.whl)
41-
python -m pip install -r ../docs/requirements.txt
46+
make doctest
4247
- name: Build docs
4348
working-directory: docs
4449
run: |

.github/workflows/python.yml

+3-16
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ env:
2727
RUSTFLAGS: "-C debuginfo=1"
2828
RUST_BACKTRACE: "1"
2929
CI: "true"
30+
# Color output for pytest is off by default.
31+
PYTEST_ADDOPTS: "--color=yes"
32+
FORCE_COLOR: "1"
3033

3134
jobs:
3235
lint:
@@ -203,22 +206,6 @@ jobs:
203206
run:
204207
shell: bash
205208
working-directory: python
206-
services:
207-
minio:
208-
image: lazybit/minio
209-
ports:
210-
- 9000:9000
211-
env:
212-
MINIO_ACCESS_KEY: ACCESSKEY
213-
MINIO_SECRET_KEY: SECRETKEY
214-
options: --name=minio --health-cmd "curl http://localhost:9000/minio/health/live"
215-
dynamodb-local:
216-
image: amazon/dynamodb-local
217-
ports:
218-
- 8000:8000
219-
env:
220-
AWS_ACCESS_KEY_ID: ACCESSKEY
221-
AWS_SECRET_ACCESS_KEY: SECRETKEY
222209
steps:
223210
- uses: actions/checkout@v4
224211
with:

.github/workflows/run_integtests/action.yml

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ runs:
99
shell: bash
1010
run: |
1111
pip3 install $(ls target/wheels/pylance-*.whl)[tests,ray]
12+
- name: Start localstack
13+
shell: bash
14+
run: |
15+
docker compose -f docker-compose.yml up -d --wait
1216
- name: Run python tests
1317
shell: bash
1418
working-directory: python

.github/workflows/rust.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ jobs:
8383
sudo apt update
8484
sudo apt install -y protobuf-compiler libssl-dev
8585
rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
86-
- name: Start DynamoDB local for tests
87-
run: |
88-
docker run -d -e AWS_ACCESS_KEY_ID=DUMMYKEY -e AWS_SECRET_ACCESS_KEY=DUMMYKEY -p 8000:8000 amazon/dynamodb-local
86+
- name: Start DynamodDB and S3
87+
run: docker compose -f docker-compose.yml up -d --wait
8988
- name: Install cargo-llvm-cov
9089
uses: taiki-e/install-action@cargo-llvm-cov
9190
- name: Run tests
@@ -130,9 +129,8 @@ jobs:
130129
run: |
131130
ALL_FEATURES=`cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | .features | keys | .[]' | grep -v protoc | sort | uniq | paste -s -d "," -`
132131
cargo test --locked --features ${ALL_FEATURES} --no-run
133-
- name: Start DynamoDB local for tests
134-
run: |
135-
docker run -d -e AWS_ACCESS_KEY_ID=DUMMYKEY -e AWS_SECRET_ACCESS_KEY=DUMMYKEY -p 8000:8000 amazon/dynamodb-local
132+
- name: Start DynamodDB and S3
133+
run: docker compose -f docker-compose.yml up -d --wait
136134
- name: Run tests
137135
run: |
138136
ALL_FEATURES=`cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | .features | keys | .[]' | grep -v protoc | sort | uniq | paste -s -d "," -`
@@ -221,7 +219,7 @@ jobs:
221219
runs-on: ubuntu-24.04
222220
strategy:
223221
matrix:
224-
msrv: ["1.80.1"] # This should match up with rust-version in Cargo.toml
222+
msrv: ["1.81.0"] # This should match up with rust-version in Cargo.toml
225223
env:
226224
# Need up-to-date compilers for kernels
227225
CC: clang

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ target
9292
python/venv
9393
test_data/venv
9494

95-
**/*.profraw
95+
**/*.profraw
96+
*.lance

0 commit comments

Comments
 (0)