Skip to content

Commit

Permalink
test: Mock provider API in vector store integration tests (#186)
Browse files Browse the repository at this point in the history
* refactor: Make embedding requests deterministic

* test: Mock vector store integration tests openai API

* test: fix test + fmt

* devops: Fix CI rate limiting

* test: Fix unused import

* test(rig-lancedb): Fix lancedb integration test

* test(rig-neo4j): Fix integration test

* style: Fmt

* test(rig-qdrant): Fix test

* style: fmt
  • Loading branch information
cvauclair authored Jan 7, 2025
1 parent 0cfaf08 commit 9cc7ed3
Show file tree
Hide file tree
Showing 11 changed files with 849 additions and 25 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
# Required to compile rig-lancedb
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run clippy action
uses: clechasseur/rs-clippy-check@v3
Expand All @@ -73,6 +75,8 @@ jobs:
# Required to compile rig-lancedb
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Test with latest nextest release
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -101,6 +105,8 @@ jobs:
# Required to compile rig-lancedb
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run cargo doc
run: cargo doc --no-deps --all-features
Expand Down
Loading

0 comments on commit 9cc7ed3

Please sign in to comment.