File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Emacs ERT Tests
2+
3+ on :
4+ workflow_dispatch : # Allow manual triggering from GitHub UI
5+ push :
6+ pull_request :
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - uses : purcell/setup-emacs@master
15+ with :
16+ version : ' 30.1'
17+
18+ - name : Run ERT tests
19+ run : |
20+ git submodule update --init --recursive
21+ cd test
22+ emacs -Q -L .. -L . \
23+ --eval "(progn
24+ (require 'package)
25+ (add-to-list 'package-archives '(\"melpa\" . \"https://melpa.org/packages/\") t)
26+ (add-to-list 'package-archives '(\"gnu\" . \"https://elpa.gnu.org/packages/\") t)
27+ (package-initialize)
28+ (setq package-install-upgrade-built-in t)
29+ (package-refresh-contents)
30+ (package-install 'transient)
31+ ;; Verify version
32+ (require 'transient)
33+ (message \"Transient version: %s\" (package-desc-version (package-get-descriptor 'transient)))
34+ (require 'compat)
35+ (message \"Compat version: %s\" (package-desc-version (package-get-descriptor 'compat))))" \
36+ $(find .. -mindepth 1 -maxdepth 1 \
37+ \( -name '.*.el' -prune -o -name '*.el' -type f -printf ' -l %p' \)) \
38+ $(find . -mindepth 1 -maxdepth 1 \
39+ \( -name '.*.el' -prune -o -name '*.el' -type f -printf ' -l %p' \)) \
40+ -l ert --batch -f ert-run-tests-batch-and-exit
You can’t perform that action at this time.
0 commit comments