Skip to content

Commit 4d9f01e

Browse files
author
enzopang
committed
Add minimal CI workflow for reliable baseline checks.
Run uv dependency sync, verify CLI startup, and execute a stable unit test on pushes and pull requests to keep basic quality gates green. Made-with: Cursor
1 parent 58c4eb6 commit 4d9f01e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
basic-check:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v4
21+
with:
22+
version: "latest"
23+
24+
- name: Setup Python
25+
run: uv python install
26+
27+
- name: Install dependencies
28+
run: uv sync --dev
29+
30+
- name: Verify CLI starts
31+
run: uv run python -m mcp_feedback_enhanced --help
32+
33+
- name: Run stable unit test
34+
run: uv run pytest -q tests/unit/test_port_manager.py

0 commit comments

Comments
 (0)