Skip to content

Commit e372688

Browse files
committed
Add CI coverage for ldk-server-mcp
Run MCP-specific formatting, clippy, and crate tests in a dedicated workflow and add a separate job that exercises the MCP e2e sanity suite on Ubuntu. Co-Authored-By: HAL 9000
1 parent e5b7687 commit e372688

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/mcp.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: MCP Checks
2+
3+
on: [ push, pull_request ]
4+
5+
permissions:
6+
contents: read
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
mcp-unit:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout source code
18+
uses: actions/checkout@v6
19+
20+
- name: Install Rust stable toolchain
21+
run: |
22+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable
23+
rustup override set stable
24+
rustup component add clippy
25+
26+
- name: Check MCP crate builds
27+
run: cargo check -p ldk-server-mcp
28+
29+
- name: Run MCP crate tests
30+
run: cargo test -p ldk-server-mcp
31+
32+
- name: Run MCP crate clippy
33+
run: cargo clippy -p ldk-server-mcp --all-targets -- -D warnings

0 commit comments

Comments
 (0)