Skip to content

Commit 8b864eb

Browse files
committed
Update CI
1 parent ffcd6b8 commit 8b864eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- uses: purcell/setup-emacs@master
2222
with:
2323
version: ${{ matrix.emacs-version }}
24+
- name: Install Compat
25+
run: emacs --batch --eval "(progn (package-refresh-contents) (package-install 'compat))"
2426
- name: Install Gnuplot
2527
run: sudo apt update && sudo apt install gnuplot
26-
- name: Install Compat
27-
run: emacs --eval "(progn (package-refresh-contents) (package-install 'compat))"
2828
- name: Run tests
2929
run: make && make test

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ LOAD = -l gnuplot \
1111
default: compile
1212

1313
test:
14-
$(EMACS) --batch -L . $(LOAD) -f ert-run-tests-batch-and-exit
14+
$(EMACS) --batch -L . -f package-initialize $(LOAD) -f ert-run-tests-batch-and-exit
1515

1616
compile:
17-
$(EMACS) --batch -L . -f batch-byte-compile gnuplot-*.el
17+
$(EMACS) --batch -L . -f package-initialize -f batch-byte-compile gnuplot-*.el
1818

1919
clean:
2020
rm -f *.elc

0 commit comments

Comments
 (0)