branch: elpa/gnuplot
commit 8b864eb0f1a19b342503df38c37a13234b6106f6
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Update CI
---
 .github/workflows/test.yml | 4 ++--
 Makefile                   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 388d9e3698..2091958114 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -21,9 +21,9 @@ jobs:
     - uses: purcell/setup-emacs@master
       with:
         version: ${{ matrix.emacs-version }}
+    - name: Install Compat
+      run: emacs --batch --eval "(progn (package-refresh-contents) 
(package-install 'compat))"
     - name: Install Gnuplot
       run: sudo apt update && sudo apt install gnuplot
-    - name: Install Compat
-      run: emacs --eval "(progn (package-refresh-contents) (package-install 
'compat))"
     - name: Run tests
       run: make && make test
diff --git a/Makefile b/Makefile
index 795ff009d9..3f3c2c216a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,10 @@ LOAD = -l gnuplot \
 default: compile
 
 test:
-       $(EMACS) --batch -L . $(LOAD) -f ert-run-tests-batch-and-exit
+       $(EMACS) --batch -L . -f package-initialize $(LOAD) -f 
ert-run-tests-batch-and-exit
 
 compile:
-       $(EMACS) --batch -L . -f batch-byte-compile gnuplot-*.el
+       $(EMACS) --batch -L . -f package-initialize -f batch-byte-compile 
gnuplot-*.el
 
 clean:
        rm -f *.elc

Reply via email to