Skip to content

fix caching in question_answering.py #61

fix caching in question_answering.py

fix caching in question_answering.py #61

Workflow file for this run

name: CI bpm-ai-core
on:
push:
branches:
- master
- develop
paths:
- 'bpm-ai-core/**'
jobs:
pytest:
defaults:
run:
working-directory: ./bpm-ai-core/tests
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
-
run: sudo apt-get install -y tesseract-ocr poppler-utils
-
uses: actions/setup-python@v4
with:
python-version: "3.11"
-
name: Set up poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
-
name: Install dependencies
run: poetry install
-
name: Run pytest
run: OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} ANTHROPIC_API_KEY=${{ secrets.ANTHROPIC_API_KEY }} poetry run pytest