Skip to content

Adoption of returnDocumentResponses in insert_many (no changes to use… #5

Adoption of returnDocumentResponses in insert_many (no changes to use…

Adoption of returnDocumentResponses in insert_many (no changes to use… #5

Workflow file for this run

name: Run base integration tests on a local Data API
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
env:
HEADER_EMBEDDING_API_KEY_OPENAI: ${{ secrets.HEADER_EMBEDDING_API_KEY_OPENAI }}
# hardcoding the target DB
DOCKER_COMPOSE_LOCAL_DATA_API: "yes"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry==1.8.3
poetry install
- name: Run pytest
run: |
poetry run pytest tests/base/integration