Some checks failed
CI / test (push) Failing after 13s
- Add missing dependencies (rich, jinja2, pathspec, tree-sitter, tree-sitter-languages) - Install vibeguard package in editable mode - Install Tree-sitter language parsers for Python, JS, TS, Go, Rust - Run only vibeguard-specific tests
30 lines
846 B
YAML
30 lines
846 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 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 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
|