mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
d178289238
commit
9970beb526
1 changed files with 9 additions and 1 deletions
|
@ -16,13 +16,21 @@ runtime:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
- python -m pip install . --prefix={{prefix}}
|
- python -m pip install . --prefix={{prefix}}
|
||||||
|
# additional requirements as of 0.1.0
|
||||||
|
- run: python -m pip install openai mistralai --prefix={{prefix}}
|
||||||
|
if: '>=0.1'
|
||||||
|
|
||||||
- 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
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
|
env:
|
||||||
|
VANNA_API_KEY: FAKE_API_KEY
|
||||||
|
OPENAI_API_KEY: FAKE_API_KEY
|
||||||
|
MISTRAL_API_KEY: FAKE_API_KEY
|
||||||
script:
|
script:
|
||||||
- pip install pytest
|
- pip install pytest
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in a new issue