- Remove tree-sitter CLI installation (npm not needed) - Remove tree-sitter parsers installation - Simplified dependency installation to pytest/pytest-cov - Fixed package installation to use 'pip install -e vibeguard/' - Create proper pyproject.toml with all dependencies
This commit is contained in:
@@ -11,16 +11,20 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip
|
|
||||||
pip install pytest pytest-cov
|
pip install pytest pytest-cov
|
||||||
- name: Install VibeGuard
|
|
||||||
run: |
|
|
||||||
pip install -e vibeguard/
|
pip install -e vibeguard/
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
run: pytest vibeguard/tests/ -v --tb=short
|
||||||
|
|
||||||
|
- name: Run linting
|
||||||
run: |
|
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
|
pip install ruff
|
||||||
|
ruff check vibeguard/
|
||||||
|
|||||||
Reference in New Issue
Block a user