Skip to content

Commit c62a1cf

Browse files
committed
chore(ci): minor tweaks for CI
1 parent 95b52ae commit c62a1cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
- name: Running Emacs
3434
run: |
3535
ln -s "$(pwd)" "../.emacs.d"
36+
echo "Enabling all MinEmacs modules"
3637
mkdir ../.minemacs.d/
3738
cp .github/workflows/test-confs/modules-all.el ../.minemacs.d/modules.el
38-
export MINEMACS_CI=1
39-
MINEMACS_CI=1 HOME=$GITHUB_WORKSPACE/.. emacs --no-window-system --batch --script init.el 2>&1 | tee /tmp/emacs-run-output || echo "Exited with error code $?"
40-
RUN_DATA=$(cat /tmp/emacs-run-output)
39+
echo "Running Emacs with MinEmacs configuration"
40+
RUN_DATA=$(MINEMACS_CI=1 HOME=$GITHUB_WORKSPACE/.. emacs -nw --batch --script init.el 2>&1 || echo "Emacs exited with non-zero code $?")
4141
echo "Emacs complete output"
4242
echo "$RUN_DATA"
4343
WARNINGS=$(echo "$RUN_DATA" | sed '{/Warning/N;s/\n//;}' | grep Warning | sed -E 's/^(.*\.el)/- \*\*\1\*\*/')

0 commit comments

Comments
 (0)