Skip to content

support for openai and gemini models at API layer #225

support for openai and gemini models at API layer

support for openai and gemini models at API layer #225

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
backend-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-asyncio pytest-cov requests-mock boto3 moto
pip install -r requirements.txt
- name: Run tests and generate coverage report
run: |
pytest tests/ --cov=app --cov-report=xml
- name: Upload coverage report as an artifact
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml