name: ci-agent

on: [pull_request]

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Set up Python 3.10
        uses: actions/setup-python@v5
        with:
          python-version: "3.10"
      - name: Install underthesea + httpx (ASGI test client)
        run: |
          python -m pip install --upgrade pip
          pip install -e . httpx
      # Scope: only the server adapter tests. The rest of tests.agent.* targets
      # an older Agent API and is being migrated separately — broaden once green.
      - name: Run server adapter tests
        run: python -m unittest tests.agent.test_server -v
