Some checks failed
CI / test (push) Has been cancelled
- Create proper pyproject.toml for vibeguard package - Update CI workflow to install vibeguard from its subdirectory - Remove manual dependency installation (now handled by pyproject.toml) - Remove redundant tree-sitter-languages step - Simplify CI to only install test dependencies
27 lines
657 B
YAML
27 lines
657 B
YAML
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 pytest pytest-cov
|
|
- name: Install VibeGuard
|
|
run: |
|
|
pip install -e vibeguard/
|
|
- 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
|