From 23a14592a907894fc0f9e83530dc8a5a6dd014cc Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Wed, 11 Jun 2025 15:38:06 -0400 Subject: [PATCH] Add support for running elevenlabs ITs --- .../workflows/spring-ai-integration-tests.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/spring-ai-integration-tests.yml b/.github/workflows/spring-ai-integration-tests.yml index 7b3c006..42e55b1 100644 --- a/.github/workflows/spring-ai-integration-tests.yml +++ b/.github/workflows/spring-ai-integration-tests.yml @@ -143,6 +143,28 @@ jobs: model-name: mistral-ai spring-ai-branch: ${{ matrix.spring_ai_branch }} + test-elevenlabs: + runs-on: ubuntu-latest + strategy: + matrix: + spring_ai_branch: [ main ] + env: + ELEVEN_LABS_API_KEY: ${{ secrets.ELEVEN_LABS_API_KEY }} + steps: + - name: Check secrets + id: secret_check + if: ${{ env.ELEVEN_LABS_API_KEY != '' }} + run: echo "Secrets exist" + + - name: Checkout the action + uses: actions/checkout@v4 + + - name: Integration Test + uses: ./.github/actions/do-integration-test + with: + model-name: elevenlabs + spring-ai-branch: ${{ matrix.spring_ai_branch }} + # 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 # test-oci-genai: