File tree Expand file tree Collapse file tree 1 file changed +38
-39
lines changed Expand file tree Collapse file tree 1 file changed +38
-39
lines changed Original file line number Diff line number Diff line change 1-
21name : Test
32
43on :
54 push :
6- branches : [ main ]
5+ branches : [main]
76 pull_request :
8- branches : [ main ]
7+ branches : [main]
98
109jobs :
1110 test :
@@ -15,39 +14,39 @@ jobs:
1514 python-version : ["3.11"]
1615
1716 steps :
18- - uses : actions/checkout@v4
19-
20- - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v5
22- with :
23- python-version : ${{ matrix.python-version }}
24-
25- - name : Install uv
26- run : |
27- python -m pip install --upgrade pip
28- pip install uv
29-
30- - name : Install test dependencies
31- run : |
32- uv install --category test
33-
34- - name : Run tests
35- run : |
36- uv run pytest
37-
38- - name : Run ruff
39- run : |
40- uv run ruff .
41-
42- - name : Run black
43- run : |
44- uv run black . --check
45-
46- - name : Run isort
47- run : |
48- uv run isort . --check-only
49-
50- - name : Run mypy
51- run : |
52- uv run mypy mcp_shell_server tests
53-
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 uv
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install uv
28+
29+ - name : Install dev/ test dependencies
30+ run : |
31+ pip install -e ".[dev]"
32+ pip install -e ".[test]"
33+
34+ - name : Run tests
35+ run : |
36+ uv run pytest
37+
38+ - name : Run ruff
39+ run : |
40+ uv run ruff .
41+
42+ - name : Run black
43+ run : |
44+ uv run black . --check
45+
46+ - name : Run isort
47+ run : |
48+ uv run isort . --check-only
49+
50+ - name : Run mypy
51+ run : |
52+ uv run mypy mcp_shell_server tests
You can’t perform that action at this time.
0 commit comments