fix(vanna)

closes #5894
This commit is contained in:
Jacob Heider 2024-04-16 15:34:32 -04:00
parent 937e2c8f1a
commit d6cc576cf5
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -32,7 +32,9 @@ build:
if: '>=0.2' if: '>=0.2'
# additional requirements as of 0.3.0 # additional requirements as of 0.3.0
- run: python -m pip install anthropic --prefix={{prefix}} - run: python -m pip install anthropic --prefix={{prefix}}
if: '>=0.2' if: '>=0.3'
# additional requirements as of 0.4.0
- run: python -m pip install google-generativeai --prefix={{prefix}}
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: ${{prefix}}/lib working-directory: ${{prefix}}/lib
@ -53,6 +55,7 @@ test:
SNOWFLAKE_ACCOUNT: FAKE_ACCOUNT SNOWFLAKE_ACCOUNT: FAKE_ACCOUNT
SNOWFLAKE_USERNAME: FAKE_USERNAME SNOWFLAKE_USERNAME: FAKE_USERNAME
SNOWFLAKE_PASSWORD: FAKE_PASSWORD SNOWFLAKE_PASSWORD: FAKE_PASSWORD
GEMINI_API_KEY: FAKE_API_KEY
script: script:
- curl -L "https://raw.githubusercontent.com/vanna-ai/vanna/main/tests/test_vanna.py" -o test_vanna.py - curl -L "https://raw.githubusercontent.com/vanna-ai/vanna/main/tests/test_vanna.py" -o test_vanna.py
- python test_vanna.py - python test_vanna.py