fix: use python -m prefix for pytest and ruff in CI workflow
Some checks failed
CI / test (push) Failing after 4m46s

This commit is contained in:
2026-02-05 13:02:46 +00:00
parent 068af8cb89
commit de3b8ff6ad

View File

@@ -25,11 +25,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov ruff
python -m pip install -r requirements.txt
python -m pip install pytest pytest-cov ruff
- name: Run tests
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
run: python -m 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 src/mcp_server_cli tests setup.py
run: python -m ruff check src/mcp_server_cli tests setup.py