refactor(ai-service): rebrand test_docker.ps1 cleanup third docker ta… #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |