We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4c9c71 + 4d681e2 commit 4afba7cCopy full SHA for 4afba7c
.github/workflows/test.yml
@@ -0,0 +1,32 @@
1
+name: Test and Lint
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12"]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install .[dev]
26
+ - name: Lint with ruff
27
28
+ ruff check .
29
+ ruff format --check .
30
+ - name: Test with pytest
31
32
+ pytest tests/ -v --cov=mcp_utils --cov-report=term-missing
0 commit comments