Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: LanceDB support #254

Merged
merged 36 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
51070e3
Draft builder
timonv Aug 27, 2024
a1d5b0c
Add tests and dedicated methods for embedded field names
timonv Aug 28, 2024
51dce0c
Persist compiles
timonv Aug 28, 2024
c98579d
Fix tests
timonv Aug 28, 2024
2952160
Clippy
timonv Aug 28, 2024
3e568eb
fmt
timonv Aug 28, 2024
d80952d
Fix metadata
timonv Aug 28, 2024
759e670
Add protoc to workflows
timonv Aug 28, 2024
53e386e
Merge branch 'master' into feat/lancedb
timonv Aug 30, 2024
bd6a591
Implement retrieve
timonv Aug 30, 2024
18ebbc2
Clean up test
timonv Aug 30, 2024
bafaf8f
Add example
timonv Aug 30, 2024
096628b
Clippy
timonv Aug 31, 2024
0502458
Merge branch 'master' into feat/lancedb
timonv Aug 31, 2024
193fb78
Add CC0-1.0 to allowed licenses
timonv Aug 31, 2024
694bc85
Add rust cache to all ci actions
timonv Aug 31, 2024
797469b
Add other two licenses
timonv Aug 31, 2024
95455b1
Cargo update
timonv Aug 31, 2024
4f68b57
Clean up deps
timonv Aug 31, 2024
a1f3b95
And then update
timonv Aug 31, 2024
0adb25e
Further clean up deps
timonv Aug 31, 2024
3ca3e0f
Only run test targets
timonv Aug 31, 2024
96c86f7
Try this
timonv Aug 31, 2024
9278d3a
No frozen
timonv Aug 31, 2024
d5acd79
More cleanup
timonv Aug 31, 2024
63680cd
Try with tarpaulin nightly
timonv Sep 1, 2024
96d5fb3
Nightly with llvm preview
timonv Sep 1, 2024
bb7943d
Add coveralls repo token to tarpaulin
timonv Sep 1, 2024
6bfa61a
Focus on tests and use llvm
timonv Sep 1, 2024
370b51c
Try stable instead of nightly
timonv Sep 1, 2024
7adbaf2
Disable llvm
timonv Sep 1, 2024
b08f0d2
Enable verbose
timonv Sep 1, 2024
8ac0605
Increase timeout
timonv Sep 1, 2024
8d0673c
Stable tool chain
timonv Sep 1, 2024
9a9916b
Update crates
timonv Sep 1, 2024
9d7932e
Disable coverage for now
timonv Sep 1, 2024
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
2 changes: 2 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Run benchmark
run: cargo bench -p benchmarks -- --output-format bencher | tee benchmarks/output.txt

Expand Down
75 changes: 38 additions & 37 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
name: Coverage

on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
name: coverage
runs-on: ubuntu-latest
env:
RUST_LOG: swiftide=debug
RUST_BACKTRACE: 1
steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- name: Generate code coverage
run: |
cargo llvm-cov --lcov --output-path target/lcov.info --all-features

- name: Coveralls
uses: coverallsapp/github-action@v2
# name: Coverage
#
# on:
# pull_request:
# push:
# branches:
# - master
#
# concurrency:
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-coverage
# cancel-in-progress: true
#
# jobs:
# test:
# name: coverage
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
#
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@stable
# with:
# components: llvm-tools-preview
# - name: Install Protoc
# uses: arduino/setup-protoc@v3
# - name: Cache Cargo dependencies
# uses: Swatinem/rust-cache@v2
# - name: Install cargo-llvm-cov
# uses: taiki-e/install-action@v2
# with:
# tool: cargo-tarpaulin
# - name: Generate code coverage
# run: |
# cargo tarpaulin --verbose --all-features --tests --timeout 1200 --coveralls ${{ secrets.COVERALLS_REPO_TOKEN }}
#
# # - name: Coveralls
# # uses: coverallsapp/github-action@v2
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-test
cancel-in-progress: true

env:
Expand All @@ -28,6 +28,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: r7kamura/rust-problem-matchers@v1
- name: Check typos
uses: crate-ci/typos@master
Expand All @@ -45,9 +49,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: r7kamura/rust-problem-matchers@v1
- name: "Test"
run: cargo test --verbose --workspace --all-features
run: cargo test --all-features --tests

clippy:
name: Clippy
Expand All @@ -60,6 +68,8 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: r7kamura/rust-problem-matchers@v1
Expand Down
Loading