| jobs: | jobs: | ||||
| test: | test: | ||||
| runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
| strategy: | |||||
| matrix: | |||||
| python-version: ["3.10", "3.11", "3.12"] | |||||
| env: | env: | ||||
| OPENAI_API_KEY: sk-IamNotARealKeyJustForMockTestKawaiiiiiiiiii | OPENAI_API_KEY: sk-IamNotARealKeyJustForMockTestKawaiiiiiiiiii | ||||
| with: | with: | ||||
| packages: ffmpeg | packages: ffmpeg | ||||
| - name: Set up Python | |||||
| - name: Set up Python ${{ matrix.python-version }} | |||||
| uses: actions/setup-python@v5 | uses: actions/setup-python@v5 | ||||
| with: | with: | ||||
| python-version: '3.10' | |||||
| python-version: ${{ matrix.python-version }} | |||||
| cache: 'pip' | cache: 'pip' | ||||
| cache-dependency-path: | | cache-dependency-path: | | ||||
| ./api/requirements.txt | ./api/requirements.txt |
| tokenizers~=0.15.0 | tokenizers~=0.15.0 | ||||
| pandas==1.5.3 | pandas==1.5.3 | ||||
| xinference-client==0.9.4 | xinference-client==0.9.4 | ||||
| safetensors==0.3.2 | |||||
| safetensors~=0.4.3 | |||||
| zhipuai==1.0.7 | zhipuai==1.0.7 | ||||
| werkzeug~=3.0.1 | werkzeug~=3.0.1 | ||||
| pymilvus==2.3.0 | |||||
| pymilvus~=2.3.0 | |||||
| qdrant-client==1.7.3 | qdrant-client==1.7.3 | ||||
| cohere~=5.2.4 | cohere~=5.2.4 | ||||
| pyyaml~=6.0.1 | pyyaml~=6.0.1 | ||||
| numpy~=1.25.2 | |||||
| numpy~=1.26.4 | |||||
| unstructured[docx,pptx,msg,md,ppt,epub]~=0.10.27 | unstructured[docx,pptx,msg,md,ppt,epub]~=0.10.27 | ||||
| bs4~=0.0.1 | bs4~=0.0.1 | ||||
| markdown~=3.5.1 | markdown~=3.5.1 | ||||
| matplotlib~=3.8.2 | matplotlib~=3.8.2 | ||||
| yfinance~=0.2.35 | yfinance~=0.2.35 | ||||
| pydub~=0.25.1 | pydub~=0.25.1 | ||||
| gmpy2~=2.1.5 | |||||
| gmpy2~=2.2.0a1 | |||||
| numexpr~=2.9.0 | numexpr~=2.9.0 | ||||
| duckduckgo-search==5.2.2 | duckduckgo-search==5.2.2 | ||||
| arxiv==2.1.0 | arxiv==2.1.0 |