File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.11"
20+
21+ - name : Install ruff
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install ruff
25+
26+ - name : Run ruff
27+ run : |
28+ ruff check .
29+
30+ test :
31+ runs-on : ubuntu-latest
32+ strategy :
33+ matrix :
34+ python-version : ["3.9", "3.10", "3.11", "3.12"]
35+
36+ steps :
37+ - uses : actions/checkout@v4
38+
39+ - name : Set up Python ${{ matrix.python-version }}
40+ uses : actions/setup-python@v5
41+ with :
42+ python-version : ${{ matrix.python-version }}
43+
44+ - name : Install dependencies
45+ run : |
46+ python -m pip install --upgrade pip
47+ pip install -r requirements-dev.txt
48+ pip install -e .
49+
50+ - name : Run tests
51+ run : |
52+ python -m pytest -v
Original file line number Diff line number Diff line change 11<div align =" center " >
22 <img src =" tests/mcphawk_logo.png " alt =" MCPHawk Logo " height =" 130 " >
33
4+ [ ![ CI] ( https://github.com/tech4242/mcphawk/actions/workflows/ci.yml/badge.svg )] ( https://github.com/tech4242/mcphawk/actions/workflows/ci.yml )
45 [ ![ Python] ( https://img.shields.io/badge/python-3.8+-blue.svg )] ( https://www.python.org/downloads/ )
56 [ ![ FastAPI] ( https://img.shields.io/badge/FastAPI-005571?style=flat&logo=fastapi )] ( https://fastapi.tiangolo.com/ )
67 [ ![ Vue.js] ( https://img.shields.io/badge/vue.js-3.x-brightgreen.svg )] ( https://vuejs.org/ )
You can’t perform that action at this time.
0 commit comments