Skip to content

Commit ffcd6b8

Browse files
committed
Update CI
1 parent c1e6c23 commit ffcd6b8

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ jobs:
2323
version: ${{ matrix.emacs-version }}
2424
- name: Install Gnuplot
2525
run: sudo apt update && sudo apt install gnuplot
26+
- name: Install Compat
27+
run: emacs --eval "(progn (package-refresh-contents) (package-install 'compat))"
2628
- name: Run tests
27-
run: 'make && make test'
29+
run: make && make test

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ LOAD = -l gnuplot \
1010

1111
default: compile
1212

13-
prepare:
14-
$(EMACS) --eval "(progn (package-refresh-contents) (package-install 'compat))"
13+
test:
14+
$(EMACS) --batch -L . $(LOAD) -f ert-run-tests-batch-and-exit
1515

16-
test: prepare
17-
$(EMACS) --batch -L . -f package-initialize $(LOAD) -f ert-run-tests-batch-and-exit
18-
19-
compile: prepare
20-
$(EMACS) --batch -L . -f package-initialize -f batch-byte-compile gnuplot-*.el
16+
compile:
17+
$(EMACS) --batch -L . -f batch-byte-compile gnuplot-*.el
2118

2219
clean:
2320
rm -f *.elc

0 commit comments

Comments
 (0)