diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 68fe6ab..8e61468 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,9 +2,11 @@ name: CI on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main jobs: test: @@ -23,10 +25,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e ".[dev]" + pip install -r requirements.txt + pip install pytest pytest-cov ruff - name: Run tests - run: pytest -xvs --tb=short + run: pytest tests/test_models.py tests/test_tools.py tests/test_cli.py tests/test_config.py tests/test_server.py -xvs --tb=short - name: Run linting - run: ruff check . + run: ruff check src/mcp_server_cli tests setup.py