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: on:
push: push:
branches: [main] branches:
- main
pull_request: pull_request:
branches: [main] branches:
- main
jobs: jobs:
test: test:
@@ -23,10 +25,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -e ".[dev]" pip install -r requirements.txt
pip install pytest pytest-cov ruff
- name: Run tests - 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 - name: Run linting
run: ruff check . run: ruff check src/mcp_server_cli tests setup.py