Skip to content

Add chat finetuning in custom model mappings so e2e tests don't fail #1364

Add chat finetuning in custom model mappings so e2e tests don't fail

Add chat finetuning in custom model mappings so e2e tests don't fail #1364

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.7", "3.9", "3.11"] # assume min and max are sufficient
steps:
- uses: actions/checkout@v2
- 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.2.2
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