Skip to content

Commit a1d4edc

Browse files
committed
f - Add CI coverage for ldk-server-mcp
Remove redundant formatting check (already covered by the main CI workflow) and drop the MCP e2e job (already covered by the e2e-tests workflow). Co-Authored-By: HAL 9000
1 parent 044cdfe commit a1d4edc

1 file changed

Lines changed: 1 addition & 34 deletions

File tree

.github/workflows/mcp.yml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ jobs:
2121
run: |
2222
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable
2323
rustup override set stable
24-
rustup component add rustfmt clippy
25-
26-
- name: Check formatting
27-
run: cargo fmt --all -- --check
24+
rustup component add clippy
2825
2926
- name: Check MCP crate builds
3027
run: cargo check -p ldk-server-mcp
@@ -34,33 +31,3 @@ jobs:
3431

3532
- name: Run MCP crate clippy
3633
run: cargo clippy -p ldk-server-mcp --all-targets -- -D warnings
37-
38-
mcp-e2e:
39-
runs-on: ubuntu-latest
40-
41-
steps:
42-
- name: Checkout code
43-
uses: actions/checkout@v6
44-
45-
- name: Enable caching for bitcoind
46-
id: cache-bitcoind
47-
uses: actions/cache@v5
48-
with:
49-
path: bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
50-
key: bitcoind-${{ runner.os }}-${{ runner.arch }}
51-
52-
- name: Download bitcoind
53-
if: steps.cache-bitcoind.outputs.cache-hit != 'true'
54-
run: |
55-
source ./scripts/download_bitcoind.sh
56-
mkdir -p bin
57-
mv "$BITCOIND_EXE" bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
58-
59-
- name: Set bitcoind environment variable
60-
run: echo "BITCOIND_EXE=$( pwd )/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
61-
62-
- name: Run MCP end-to-end tests
63-
run: cargo test --manifest-path e2e-tests/Cargo.toml mcp --verbose --color=always -- --test-threads=4 --nocapture
64-
env:
65-
RUST_BACKTRACE: 1
66-
BITCOIND_SKIP_DOWNLOAD: 1

0 commit comments

Comments
 (0)