Add mistral and key for openai so most vectorstore ITs run
This commit is contained in:
@@ -113,19 +113,23 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# model-name: huggingface
|
# model-name: huggingface
|
||||||
#
|
#
|
||||||
# test-mistral-ai:
|
test-mistral-ai:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# env:
|
env:
|
||||||
# MISTRAL_AI_API_KEY: ${{ secrets.MISTRAL_AI_API_KEY }}
|
MISTRAL_AI_API_KEY: ${{ secrets.MISTRAL_AI_API_KEY }}
|
||||||
# if: ${{ env.MISTRAL_AI_API_KEY != '' }}
|
steps:
|
||||||
# steps:
|
- name: Check secrets
|
||||||
# - name: Checkout the action
|
id: secret_check
|
||||||
# uses: actions/checkout@v4
|
if: ${{ env.MISTRAL_AI_API_KEY != '' }}
|
||||||
#
|
run: echo "Secrets exist"
|
||||||
# - name: Integration Test
|
|
||||||
# uses: ./.github/actions/do-integration-test
|
- name: Checkout the action
|
||||||
# with:
|
uses: actions/checkout@v4
|
||||||
# model-name: mistral-ai
|
|
||||||
|
- name: Integration Test
|
||||||
|
uses: ./.github/actions/do-integration-test
|
||||||
|
with:
|
||||||
|
model-name: mistral-ai
|
||||||
|
|
||||||
# Removed since not able to get keys from ORACLE
|
# Removed since not able to get keys from ORACLE
|
||||||
# When keys are available uncomment this code and verify no other structural changes in the other jobs
|
# When keys are available uncomment this code and verify no other structural changes in the other jobs
|
||||||
@@ -200,12 +204,24 @@ jobs:
|
|||||||
|
|
||||||
test-vectorstores:
|
test-vectorstores:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_QUIET: 1 # Suppresses Docker CLI progress output
|
||||||
|
TESTCONTAINERS_QUIET: true # Additional quieting for testcontainers
|
||||||
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
|
MISTRAL_AI_API_KEY: ${{ secrets.MISTRAL_AI_API_KEY }}
|
||||||
|
OLLAMA_TESTS_ENABLED: true
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check secrets
|
||||||
|
id: secret_check
|
||||||
|
if: ${{ env.OPENAI_API_KEY != '' && env.MISTRAL_AI_API_KEY != '' }}
|
||||||
|
run: echo "Secrets exist"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Configure Testcontainers
|
- name: Configure Testcontainers
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME
|
mkdir -p $HOME
|
||||||
echo "testcontainers.reuse.enable = true" >> $HOME/.testcontainers.properties
|
echo "testcontainers.reuse.enable = true" >> $HOME/.testcontainers.properties
|
||||||
|
|
||||||
- name: Integration Test
|
- name: Integration Test
|
||||||
uses: ./.github/actions/do-multi-module-test
|
uses: ./.github/actions/do-multi-module-test
|
||||||
with:
|
with:
|
||||||
@@ -239,6 +255,9 @@ jobs:
|
|||||||
|
|
||||||
test-spring-ai-integration:
|
test-spring-ai-integration:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_QUIET: 1 # Suppresses Docker CLI progress output
|
||||||
|
TESTCONTAINERS_QUIET: true # Additional quieting for testcontainers
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Configure Testcontainers
|
- name: Configure Testcontainers
|
||||||
@@ -252,6 +271,9 @@ jobs:
|
|||||||
|
|
||||||
test-docker-compose:
|
test-docker-compose:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_QUIET: 1 # Suppresses Docker CLI progress output
|
||||||
|
TESTCONTAINERS_QUIET: true # Additional quieting for testcontainers
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Configure Testcontainers
|
- name: Configure Testcontainers
|
||||||
@@ -265,6 +287,9 @@ jobs:
|
|||||||
|
|
||||||
test-testcontainers:
|
test-testcontainers:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_QUIET: 1 # Suppresses Docker CLI progress output
|
||||||
|
TESTCONTAINERS_QUIET: true # Additional quieting for testcontainers
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Configure Testcontainers
|
- name: Configure Testcontainers
|
||||||
|
|||||||
Reference in New Issue
Block a user