mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
fa0bf47f52
commit
a9c4623960
|
@ -35,8 +35,15 @@ build:
|
|||
if: '>=0.3'
|
||||
# additional requirements as of 0.4.0
|
||||
- run: python -m pip install google-generativeai --prefix={{prefix}}
|
||||
if: '>=0.4'
|
||||
# additional requirements as of 0.4.1
|
||||
- run: python -m pip install qdrant-client fastembed --prefix={{prefix}}
|
||||
if: '>=0.4.1'
|
||||
# protobuf ^5.27 (transient dep) currently not playing nicely with other components
|
||||
- run: |
|
||||
rm -rf ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages/proto
|
||||
python -m pip install proto-plus==1.24.0.dev1 --prefix={{prefix}}
|
||||
if: 0.6.0
|
||||
|
||||
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
||||
working-directory: ${{prefix}}/lib
|
||||
|
@ -59,5 +66,5 @@ test:
|
|||
SNOWFLAKE_PASSWORD: FAKE_PASSWORD
|
||||
GEMINI_API_KEY: FAKE_API_KEY
|
||||
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/{{ version.tag }}/tests/test_vanna.py" -o test_vanna.py
|
||||
- python test_vanna.py
|
||||
|
|
Loading…
Reference in a new issue