fix(vanna)

closes #5714
This commit is contained in:
Jacob Heider 2024-03-27 14:56:56 -04:00 committed by Jacob Heider
parent 6c5d7eb41a
commit 5cc2390bc6

View file

@ -30,6 +30,9 @@ build:
# additional requirements as of 0.2.0 # additional requirements as of 0.2.0
- run: python -m pip install chromadb python-dotenv --prefix={{prefix}} - run: python -m pip install chromadb python-dotenv --prefix={{prefix}}
if: '>=0.2' if: '>=0.2'
# additional requirements as of 0.3.0
- run: python -m pip install anthropic --prefix={{prefix}}
if: '>=0.2'
- 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
@ -46,6 +49,7 @@ test:
VANNA_API_KEY: FAKE_API_KEY VANNA_API_KEY: FAKE_API_KEY
OPENAI_API_KEY: FAKE_API_KEY OPENAI_API_KEY: FAKE_API_KEY
MISTRAL_API_KEY: FAKE_API_KEY MISTRAL_API_KEY: FAKE_API_KEY
ANTHROPIC_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