Skip to content

refactor(ai-service): rebrand test_docker.ps1 cleanup third docker ta… #2

refactor(ai-service): rebrand test_docker.ps1 cleanup third docker ta…

refactor(ai-service): rebrand test_docker.ps1 cleanup third docker ta… #2

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