# GitHub Copilot Coding Agent -- Environment Setup
# This file tells Copilot how to set up when working on issues.
# Ref: https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent

setup:
  - name: Install Python dependencies
    run: |
      pip install -r requirements.txt 2>/dev/null || true
      pip install -r requirements-dev.txt 2>/dev/null || true

  - name: Install Node dependencies
    run: |
      if [ -f package.json ]; then npm ci; fi

  - name: Install dev tools
    run: |
      pip install ruff pytest pytest-cov pytest-asyncio mypy bandit pre-commit

  - name: Run linter (verify setup)
    run: ruff check --output-format=github . 2>/dev/null || true
