diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e911e9a8..c22b312d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - 25.3 - 26.3 - 27.1 - - snapshot + - 29.2 steps: - uses: purcell/setup-emacs@master with: diff --git a/Makefile b/Makefile index 755845a0..e921c5e7 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,9 @@ compile: $(ELCFILES) -include .depend $(ELCFILES): %.elc: %.el - $(EMACS) --batch -Q -L . --eval "(declare-function undo-redo nil)" -f batch-byte-compile $< + $(EMACS) --batch -Q -L . --eval "(declare-function undo-redo nil)" \ + --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile $< + # Byte-compile all files in one batch. This is faster than # compiling each file in isolation, but also less stringent. @@ -55,7 +57,7 @@ clean: # The TAG variable may specify a test tag or a test name: # make test TAG=repeat # This will only run tests pertaining to the repeat system. -test: +test: compile $(EMACS) -nw -Q --batch -L . -l evil-tests.el \ --eval "(evil-tests-initialize '(${TAG}) '(${PROFILER}))"