emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/engine-mode f2cad3ec83: Install buttercup through make tas


From: ELPA Syncer
Subject: [nongnu] elpa/engine-mode f2cad3ec83: Install buttercup through make task, not CI
Date: Mon, 26 Jun 2023 22:01:15 -0400 (EDT)

branch: elpa/engine-mode
commit f2cad3ec83087dfeedcd10a658b0876e8de08d93
Author: Harry R. Schwartz <hello@harryrschwartz.com>
Commit: Harry R. Schwartz <hello@harryrschwartz.com>

    Install buttercup through make task, not CI
    
    This way running `make` locally will ensure that buttercup's installed, 
rather
    than only installing it as part of the CI process.
---
 .github/workflows/test.yml | 7 ++-----
 Makefile                   | 2 ++
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index deea2c8f81..6cc7cf5646 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -38,13 +38,10 @@ jobs:
       with:
         version: ${{ matrix.emacs_version }}
 
-    - name: Install buttercup package
-      run: emacs --quick --batch -f package-initialize --eval "(add-to-list 
'package-archives '(\"nongnu\" . \"https://elpa.nongnu.org/nongnu/\";) t)" 
--eval "(package-refresh-contents)" --eval "(package-install 'buttercup)"
-
     - name: Run tests
       if: matrix.allow_failure != true
-      run: 'make && make test'
+      run: 'make test'
 
     - name: Run tests (allow failure)
       if: matrix.allow_failure == true
-      run: 'make && make test || true'
+      run: 'make test || true'
diff --git a/Makefile b/Makefile
index 08453832a9..9e899ab72f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,5 +2,7 @@
 test: engine-mode.el engine-mode-test.el
        emacs --quick --batch \
        -f package-initialize \
+  --eval "(add-to-list 'package-archives '(\"nongnu\" . 
\"https://elpa.nongnu.org/nongnu/\";) t)" \
+  --eval "(when (not (package-installed-p 'buttercup)) 
(package-refresh-contents) (package-install 'buttercup))" \
        -L . \
        -f buttercup-run-discover



reply via email to

[Prev in Thread] Current Thread [Next in Thread]