Skip to content

udpate embed request with embedding_types #1581

udpate embed request with embedding_types

udpate embed request with embedding_types #1581

Workflow file for this run

name: CI Tests
on: pull_request
jobs:
run_tests_docs_build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.11"] # try a few different versions between min and max
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install "poetry~=1.7.0"
poetry install
- name: Check formatting
run: poetry run pre-commit run --all-files
- name: Run tests
env:
CO_API_KEY: ${{ secrets.CO_API_PROD_KEY }}
run: poetry run python -m pytest -v -s tests
- name: Build package
run: poetry build
- name: Build docs
run: cd docs && poetry run make clean html