Skip to content

feat: implement async batch processing for classification pipeline #8

feat: implement async batch processing for classification pipeline

feat: implement async batch processing for classification pipeline #8

Workflow file for this run

name: Docker CI
on:
pull_request:
types: [opened, synchronize]
jobs:
test:
name: Full Stack Tests (Docker)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Services
run: docker compose build
- name: Run Generator Tests (Backend)
run: docker compose run --rm asset-generator pytest generator/tests/ -v
- name: Start Frontend
run: docker compose up -d frontend
- name: Wait for Frontend Ready
run: |
timeout 60s bash -c 'until curl --silent -f http://localhost:3000 > /dev/null; do echo "Waiting for frontend..."; sleep 2; done'
- name: Run Playwright Tests (Frontend)
run: docker compose run --rm playwright /bin/sh -c "npm ci && npx playwright install --with-deps chromium && npx playwright test"
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: frontend/playwright-report/
retention-days: 30