forked from Minidoracat/mcp-feedback-enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 1.01 KB
/
pr-quality.yml
File metadata and controls
41 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: PR Quality Gate
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Setup Python
run: uv python install
- name: Install dependencies
run: uv sync --dev
- name: Ruff lint
run: uv run ruff check .
- name: Ruff format check
run: uv run ruff format --check .
- name: Core unit tests
run: uv run pytest -m "unit and not slow" -q
- name: Integration smoke tests
run: >
uv run pytest -m "integration and (mcp or web) and not slow"
tests/integration/test_mcp_workflow.py::TestMCPBasicWorkflow::test_mcp_initialization
tests/integration/test_web_integration.py::TestWebUIIntegration::test_websocket_connection
tests/integration/test_mcp_pause_resume_e2e.py
-q