Skip to content

Commit ae99765

Browse files
committed
chore(ci): add install-deps target for CI setup
Updated the Makefile to include an `install-deps` target for setting up test dependencies. Modified the CI workflow to use `emacs --batch -L .` for byte compilation.
1 parent 97a3c06 commit ae99765

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ jobs:
5555
run: make install-deps
5656

5757
- name: Check byte compilation
58-
run: emacs --batch --eval "(byte-compile-file \"mcp-server.el\")"
58+
run: emacs --batch -L . --eval "(byte-compile-file \"mcp-server.el\")"

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test test-unit test-integration clean test-file test-pattern test-verbose help
1+
.PHONY: test test-unit test-integration clean test-file test-pattern test-verbose install-deps help
22

33
# Default target
44
all: test
@@ -48,6 +48,10 @@ test-pattern:
4848
-l test/unit/test-mcp-tools-working.el \
4949
--eval "(ert-run-tests-batch-and-exit \"$(PATTERN)\")"
5050

51+
# Install test dependencies (for CI)
52+
install-deps:
53+
@echo "No external dependencies required - using built-in ERT"
54+
5155
# Show help
5256
help:
5357
@echo "Emacs MCP Server Test Suite"

0 commit comments

Comments
 (0)