Skip to content
Open
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
24 changes: 24 additions & 0 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,30 @@ concurrency:
cancel-in-progress: true

jobs:
qdrant-compatibility:
name: Qdrant client ${{ matrix.qdrant-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
qdrant-version: ['1.16.2', '1.20.0']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven
cache-dependency-path: 'java/**/pom.xml'
- name: Test async lifecycle and loopback gRPC to OTLP
working-directory: java
run: >-
mvn -B -ntp -pl traceai-java-qdrant -am
-Dqdrant.version=${{ matrix.qdrant-version }}
-Dtest=TracedQdrantClientTest,TracedQdrantWireTest
-Dsurefire.failIfNoSpecifiedTests=false test

verify:
name: Build, test, and validate Central artifacts
runs-on: ubuntu-latest
Expand Down
22 changes: 21 additions & 1 deletion java/traceai-java-qdrant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,24 @@
<dependency>
<groupId>io.qdrant</groupId>
<artifactId>client</artifactId>
<version>1.16.2</version>
<version>${qdrant.version}</version>
<scope>provided</scope>
</dependency>

<!-- Testing -->
<dependency>
<groupId>io.opentelemetry.proto</groupId>
<artifactId>opentelemetry-proto</artifactId>
<version>1.0.0-alpha</version>
<scope>test</scope>
<exclusions>
<!-- Use the protobuf runtime selected by the Qdrant SDK. -->
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
Expand All @@ -39,6 +52,13 @@
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
<exclusions>
<!-- Use Mockito's Java-21-compatible Byte Buddy. -->
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
Expand Down
Loading
Loading