File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed
Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " pip"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ open-pull-requests-limit : 10
8+
9+ - package-ecosystem : " github-actions"
10+ directory : " /"
11+ schedule :
12+ interval : " weekly"
13+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : ["3.11"]
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - name : Set up Python ${{ matrix.python-version }}
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+
24+ - name : Install dependencies
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install -e ".[test,dev]"
28+
29+ - name : Run tests
30+ run : |
31+ pytest
32+
33+ - name : Run ruff
34+ run : |
35+ ruff check .
36+
37+ - name : Run black
38+ run : |
39+ black . --check
40+
41+ - name : Run mypy
42+ run : |
43+ mypy mcp_shell_server tests
You can’t perform that action at this time.
0 commit comments