Skip to content

feat(ai-service): export Prometheus metrics for circuit breaker (closes #134) #21

feat(ai-service): export Prometheus metrics for circuit breaker (closes #134)

feat(ai-service): export Prometheus metrics for circuit breaker (closes #134) #21

Workflow file for this run

name: CI - Python Tests
on:
push:
paths:
- 'app/ai-service/**'
pull_request:
paths:
- 'app/ai-service/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
working-directory: app/ai-service
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest
- name: Run tests
working-directory: app/ai-service
run: |
pytest -q