Temporarily disabled in-process embedding model tests (#48)

We are out of free Git LFS quota
This commit is contained in:
LangChain4j 2023-07-24 19:52:30 +02:00 committed by GitHub
parent 80f71feeb6
commit 540741c8e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 5 deletions

View File

@ -7,16 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull LFS files
run: git lfs pull
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Test
run: mvn --batch-mode test

View File

@ -1,6 +1,7 @@
package dev.langchain4j.model.embedding;
import dev.langchain4j.data.embedding.Embedding;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
@ -8,6 +9,7 @@ import static org.assertj.core.api.Assertions.assertThat;
class ALL_MINILM_L6_V2_Q_EmbeddingModelTest {
@Test
@Disabled("Temporary disabling. This test should run only when this or used (e.g. langchain4j-embeddings) module(s) change")
void should_embed() {
EmbeddingModel model = new ALL_MINILM_L6_V2_Q_EmbeddingModel();

View File

@ -1,6 +1,7 @@
package dev.langchain4j.model.embedding;
import dev.langchain4j.data.embedding.Embedding;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
@ -8,6 +9,7 @@ import static org.assertj.core.api.Assertions.assertThat;
class ALL_MINILM_L6_V2_EmbeddingModelTest {
@Test
@Disabled("Temporary disabling. This test should run only when this or used (e.g. langchain4j-embeddings) module(s) change")
void should_embed() {
EmbeddingModel model = new ALL_MINILM_L6_V2_EmbeddingModel();

View File

@ -1,6 +1,7 @@
package dev.langchain4j.model.embedding;
import dev.langchain4j.data.embedding.Embedding;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
@ -8,6 +9,7 @@ import static org.assertj.core.api.Assertions.assertThat;
class E5_SMALL_V2_Q_EmbeddingModelTest {
@Test
@Disabled("Temporary disabling. This test should run only when this or used (e.g. langchain4j-embeddings) module(s) change")
void should_embed() {
EmbeddingModel model = new E5_SMALL_V2_Q_EmbeddingModel();

View File

@ -1,6 +1,7 @@
package dev.langchain4j.model.embedding;
import dev.langchain4j.data.embedding.Embedding;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
@ -8,6 +9,7 @@ import static org.assertj.core.api.Assertions.assertThat;
class E5_SMALL_V2_EmbeddingModelTest {
@Test
@Disabled("Temporary disabling. This test should run only when this or used (e.g. langchain4j-embeddings) module(s) change")
void should_embed() {
EmbeddingModel model = new E5_SMALL_V2_EmbeddingModel();