From 3371d72e61035cc75654d5ec7e579637e8743464 Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Mon, 2 Dec 2024 16:53:18 -0500 Subject: [PATCH] Add openai key to test-spring-ai-integration --- .github/workflows/spring-ai-integration-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/spring-ai-integration-tests.yml b/.github/workflows/spring-ai-integration-tests.yml index f20eb58..8767e49 100644 --- a/.github/workflows/spring-ai-integration-tests.yml +++ b/.github/workflows/spring-ai-integration-tests.yml @@ -258,12 +258,19 @@ jobs: env: DOCKER_QUIET: 1 # Suppresses Docker CLI progress output TESTCONTAINERS_QUIET: true # Additional quieting for testcontainers + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} steps: + - name: Check secrets + id: secret_check + if: ${{ env.OPENAI_API_KEY != '' }} + run: echo "Secrets exist" + - uses: actions/checkout@v4 - name: Configure Testcontainers run: | mkdir -p $HOME echo "testcontainers.reuse.enable = true" >> $HOME/.testcontainers.properties + - name: Integration Test uses: ./.github/actions/do-multi-module-test with: