diff --git a/.github/workflows/e2e-text-backend-full-cpu.yaml b/.github/workflows/e2e-text-backend-full-cpu.yaml index 9ae6a2846..32fb35a49 100644 --- a/.github/workflows/e2e-text-backend-full-cpu.yaml +++ b/.github/workflows/e2e-text-backend-full-cpu.yaml @@ -104,5 +104,7 @@ jobs: # Test ########## - name: Test Text Backend + env: + LEAPFROGAI_MODEL: llama-cpp-python run: | python -m pytest ./tests/e2e/test_text_backend_full.py -v diff --git a/.github/workflows/weekly-registry1-flavor-test.yaml b/.github/workflows/weekly-registry1-flavor-test.yaml index 89d33acd4..529c5e6ff 100644 --- a/.github/workflows/weekly-registry1-flavor-test.yaml +++ b/.github/workflows/weekly-registry1-flavor-test.yaml @@ -143,6 +143,7 @@ jobs: env: ANON_KEY: ${{ steps.generate_secrets.outputs.ANON_KEY }} SERVICE_KEY: ${{ steps.generate_secrets.outputs.SERVICE_KEY }} + LEAPFROGAI_MODEL: llama-cpp-python run: | python -m pytest -vvv -s ./tests/e2e @@ -156,6 +157,7 @@ jobs: SERVICE_ROLE_KEY: ${{ steps.generate_secrets.outputs.SERVICE_KEY }} FAKE_E2E_USER_PASSWORD: ${{ steps.generate_secrets.outputs.FAKE_PASSWORD }} ANON_KEY: ${{ steps.generate_secrets.outputs.ANON_KEY }} + LEAPFROGAI_MODEL: llama-cpp-python run: | chmod +x ./.github/scripts/createUser.sh ./.github/scripts/createUser.sh diff --git a/tests/utils/client.py b/tests/utils/client.py index 33b043207..4fd58c792 100644 --- a/tests/utils/client.py +++ b/tests/utils/client.py @@ -150,7 +150,7 @@ def get_leapfrogai_api_key() -> str: logging.warning( "LEAPFROGAI_API_KEY or SUPABASE_USER_JWT not set, automatically generating test user." ) - api_key = create_test_user() + return create_test_user() return api_key