Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ jobs:
rustup default ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v2
with:
workspaces: crates/lance-graph
cache-targets: false
shared-key: "lance-graph-deps"
workspaces: |
crates/lance-graph
crates/lance-graph-python
- name: Install dependencies
run: |
sudo apt update
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ concurrency:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-C debuginfo=1"
CARGO_INCREMENTAL: "0"

jobs:
test:
Expand All @@ -36,8 +37,10 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
with:
workspaces: python
cache-targets: false
shared-key: "lance-graph-deps"
workspaces: |
crates/lance-graph
crates/lance-graph-python
- name: Install dependencies
run: |
sudo apt update
Expand All @@ -50,7 +53,8 @@ jobs:
uv venv
source .venv/bin/activate
uv pip install maturin[patchelf]
uv pip install -e .[tests]
# Install test dependencies only (skip editable install to avoid double-building Rust)
uv pip install pytest pyarrow pandas ruff
- name: Build Python extension
working-directory: python
run: |
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/rust-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
matrix:
toolchain:
- stable
- nightly
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
Expand All @@ -37,8 +36,10 @@ jobs:
rustup default ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v2
with:
workspaces: crates/lance-graph
cache-targets: false
shared-key: "lance-graph-deps"
workspaces: |
crates/lance-graph
crates/lance-graph-python
- name: Install dependencies
run: |
sudo apt update
Expand All @@ -61,8 +62,10 @@ jobs:
rustup default stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: crates/lance-graph
cache-targets: false
shared-key: "lance-graph-deps"
workspaces: |
crates/lance-graph
crates/lance-graph-python
- name: Install dependencies
run: |
sudo apt update
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ jobs:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
workspaces: crates/lance-graph
shared-key: "lance-graph-deps"
workspaces: |
crates/lance-graph
crates/lance-graph-python
- name: Install dependencies
run: |
sudo apt update
Expand Down
Loading