Temporarily disabled in-process embedding model tests (#48)
We are out of free Git LFS quota
This commit is contained in:
parent
80f71feeb6
commit
540741c8e5
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue