Skip to content

Commit

Permalink
Fix method used to install dependencies for testing
Browse files Browse the repository at this point in the history
Without this, there can be gpg errors when checking the signature for
the seq package from ELPA.
  • Loading branch information
purcell committed May 7, 2024
1 parent 17e4ab2 commit 5482ecc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ INIT_PACKAGE_EL="(progn \
(require 'package) \
(push '(\"melpa\" . \"https://melpa.org/packages/\") package-archives) \
(package-initialize) \
(unless package-archive-contents \
(package-refresh-contents)) \
(dolist (pkg '(${NEEDED_PACKAGES})) \
(unless (package-installed-p pkg) \
(package-install pkg))))"
(unless (assoc pkg package-archive-contents) \
(package-refresh-contents)) \
(package-install pkg)))))"

# Refresh package archives, because the test suite needs to see at least
# package-lint and cl-lib.
Expand Down

0 comments on commit 5482ecc

Please sign in to comment.