Skip to content

Commit 5ffc403

Browse files
committed
chore: add dependabot configuration for weekly updates on pip and GitHub Actions
ci: create GitHub Actions workflow for testing with Python 3.11 and linting tools
1 parent 5af28a9 commit 5ffc403

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

.github/workflows/test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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

0 commit comments

Comments
 (0)