udpate embed request with embedding_types #1572
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |