Skip to content

Commit

Permalink
Enhance GitHub Actions workflow by adding Qdrant service configuratio…
Browse files Browse the repository at this point in the history
…n for unit tests. This update introduces Qdrant as a service dependency, specifying its HTTP and gRPC ports, which improves the testing environment and ensures comprehensive service integration during unit tests.
  • Loading branch information
trheyi committed Jan 2, 2025
1 parent 8843745 commit cb4e3b6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,21 @@ env:
MONGO_TEST_PASS: "123456"

OPENAI_TEST_KEY: ${{ secrets.OPENAI_TEST_KEY }}
QDRANT_TEST_HOST: "127.0.0.1"
QDRANT_TEST_PORT: "6334"
QDRANT_TEST_HTTP_PORT: "6333"

jobs:
unit-test:
runs-on: ubuntu-latest

services:
qdrant:
image: qdrant/qdrant:latest
ports:
- 6333:6333 # HTTP API
- 6334:6334 # gRPC

strategy:
matrix:
go: [1.23.0]
Expand Down

0 comments on commit cb4e3b6

Please sign in to comment.