name: CI on: push: branches: [main] pull_request: branches: [main] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install dependencies run: | pip install --upgrade pip pip install click rich jinja2 pyyaml pathspec tomli pytest pytest-cov tree-sitter tree-sitter-languages - name: Install VibeGuard run: | pip install -e . - name: Install Tree-sitter CLI run: | npm install -g tree-sitter-cli - name: Install Tree-sitter parsers run: | tree-sitter install python javascript typescript go rust - name: Run tests run: | pytest tests/unit/test_patterns.py tests/unit/test_analyzers.py tests/integration/test_cli.py tests/integration/test_reports.py -v --cov=vibeguard