mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-05-15 10:57:59 +02:00
be009a4094
Rename the entire project from FuzzForge to SecPipe: - Python packages: fuzzforge_cli → secpipe_cli, fuzzforge_common → secpipe_common, fuzzforge_mcp → secpipe_mcp, fuzzforge_tests → secpipe_tests - Directories: fuzzforge-cli → secpipe-cli, fuzzforge-common → secpipe-common, fuzzforge-mcp → secpipe-mcp, fuzzforge-tests → secpipe-tests - Environment variables: FUZZFORGE_* → SECPIPE_* - MCP server name: SecPipe MCP Server - CI workflows, Makefile, Dockerfile, hub-config, NOTICE updated - Fix mcp-server.yml to use uvicorn secpipe_mcp.application:app
87 lines
2.0 KiB
YAML
87 lines
2.0 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main, dev, feature/*]
|
|
pull_request:
|
|
branches: [main, dev]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint-and-typecheck:
|
|
name: Lint & Type Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
version: "latest"
|
|
|
|
- name: Set up Python
|
|
run: uv python install 3.14
|
|
|
|
- name: Install dependencies
|
|
run: uv sync
|
|
|
|
- name: Ruff check (secpipe-cli)
|
|
run: |
|
|
cd secpipe-cli
|
|
uv run --extra lints ruff check src/
|
|
|
|
- name: Ruff check (secpipe-mcp)
|
|
run: |
|
|
cd secpipe-mcp
|
|
uv run --extra lints ruff check src/
|
|
|
|
- name: Ruff check (secpipe-common)
|
|
run: |
|
|
cd secpipe-common
|
|
uv run --extra lints ruff check src/
|
|
|
|
- name: Mypy type check (secpipe-cli)
|
|
run: |
|
|
cd secpipe-cli
|
|
uv run --extra lints mypy src/
|
|
|
|
- name: Mypy type check (secpipe-mcp)
|
|
run: |
|
|
cd secpipe-mcp
|
|
uv run --extra lints mypy src/
|
|
|
|
# NOTE: Mypy check for secpipe-common temporarily disabled
|
|
# due to 37 pre-existing type errors in legacy code.
|
|
# TODO: Fix type errors and re-enable strict checking
|
|
#- name: Mypy type check (secpipe-common)
|
|
# run: |
|
|
# cd secpipe-common
|
|
# uv run --extra lints mypy src/
|
|
|
|
test:
|
|
name: Tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
version: "latest"
|
|
|
|
- name: Set up Python
|
|
run: uv python install 3.14
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --all-extras
|
|
|
|
- name: Run MCP tests
|
|
run: |
|
|
cd secpipe-mcp
|
|
uv run --extra tests pytest -v
|
|
|
|
- name: Run common tests
|
|
run: |
|
|
cd secpipe-common
|
|
uv run --extra tests pytest -v
|