Skip to content

feat: support external record identifiers #93

feat: support external record identifiers

feat: support external record identifiers #93

Workflow file for this run

name: Rust Tests
on:
push:
branches:
- main
pull_request:
paths:
- crates/**
- .github/workflows/rust-test.yml
- Cargo.toml
- Cargo.lock
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-C debuginfo=1"
RUST_BACKTRACE: "1"
CARGO_INCREMENTAL: "0"
jobs:
test:
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
run: |
rustup toolchain install ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v2
with:
shared-key: "lance-context-deps"
workspaces: |
crates/lance-context-core
python
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y protobuf-compiler
- name: Build tests
run: cargo test -p lance-context-core --no-run
- name: Run unit tests
run: cargo test -p lance-context-core --lib
- name: Run doc tests
run: cargo test -p lance-context-core --doc