Skip to content

Commit 7078489

Browse files
committed
OK
1 parent 25c6b33 commit 7078489

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

.github/workflows/test-astra-dev.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,22 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11+
BUILD:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Code
15+
uses: actions/checkout@v2
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v2
18+
with:
19+
distribution: 'adopt'
20+
java-version: 11
21+
- name: Build with Maven
22+
run: |
23+
mvn install -Dmaven.test.skip=true
24+
1125
AWS_US_WEST2:
26+
needs: BUILD
1227
runs-on: ubuntu-latest
1328
steps:
1429
- name: Checkout repository
@@ -18,10 +33,7 @@ jobs:
1833
with:
1934
distribution: 'adopt'
2035
java-version: 11
21-
- name: Build with Maven
22-
run: |
23-
mvn install
24-
- name: Run test for DEV
36+
- name: Maven Test
2537
env:
2638
ASTRA_DB_APPLICATION_TOKEN_DEV: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN_DEV }}
2739
ASTRA_CLOUD_PROVIDER_DEV: AWS
@@ -31,6 +43,7 @@ jobs:
3143
mvn test -Dtest=com.datastax.astra.test.integration.dev.*Test
3244
3345
GCP_EUROPE_WEST4:
46+
needs: BUILD
3447
runs-on: ubuntu-latest
3548
steps:
3649
- name: Checkout repository
@@ -40,9 +53,6 @@ jobs:
4053
with:
4154
distribution: 'adopt'
4255
java-version: 11
43-
- name: Build with Maven
44-
run: |
45-
mvn install
4656
- name: Run test for DEV
4757
env:
4858
ASTRA_DB_APPLICATION_TOKEN_DEV: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN_DEV }}
@@ -53,6 +63,7 @@ jobs:
5363
mvn test -Dtest=com.datastax.astra.test.integration.dev.*Test
5464
5565
GCP_US_CENTRAL1:
66+
needs: BUILD
5667
runs-on: ubuntu-latest
5768
steps:
5869
- name: Checkout repository
@@ -62,9 +73,7 @@ jobs:
6273
with:
6374
distribution: 'adopt'
6475
java-version: 11
65-
- name: Build with Maven
66-
run: |
67-
mvn install
76+
6877
- name: Run test for DEV
6978
env:
7079
ASTRA_DB_APPLICATION_TOKEN_DEV: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN_DEV }}

astra-db-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<uuid-generator.version>5.0.0</uuid-generator.version>
3030

3131
<!-- Test -->
32-
<test.skipped>true</test.skipped>
32+
<test.skipped>false</test.skipped>
3333
<assertj.version>3.25.3</assertj.version>
3434
<junit-jupiter.version>5.10.2</junit-jupiter.version>
3535

examples/src/main/java/com/datastax/astra/client/collection/vectorize/QuickStartOpenAI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.datastax.astra.client.model.Document;
99
import com.datastax.astra.client.model.FindOneOptions;
1010
import com.datastax.astra.client.model.SimilarityMetric;
11-
import com.datastax.astra.internal.auth.UsernamePasswordTokenProvider;
11+
import com.datastax.astra.client.auth.UsernamePasswordTokenProvider;
1212
import com.datastax.astra.internal.command.LoggingCommandObserver;
1313
import lombok.extern.slf4j.Slf4j;
1414

0 commit comments

Comments
 (0)