fix: resolve CI/CD workflow and linting issues
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-05 12:51:17 +00:00
parent 709cf33b1a
commit 2abd9a4866

View File

@@ -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