fix: use python -m prefix for pytest and ruff in CI workflow
Some checks failed
CI / test (push) Failing after 4m46s
Some checks failed
CI / test (push) Failing after 4m46s
This commit is contained in:
@@ -25,11 +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 -r requirements.txt
|
python -m pip install -r requirements.txt
|
||||||
pip install pytest pytest-cov ruff
|
python -m pip install pytest pytest-cov ruff
|
||||||
|
|
||||||
- name: Run tests
|
- 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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user