diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 83112cb..ca09bd1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,16 +11,20 @@ jobs: 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 vibeguard/tests/ -v --tb=short + + - name: Run linting 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/