Add test that emacs config loads

This commit is contained in:
2022-03-23 09:38:17 -07:00
parent 0c0bb939e5
commit e7efaf1eb1
2 changed files with 14 additions and 0 deletions

3
.doom.d/test-emacs.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
emacs --batch --load ~/.emacs.d/init.el -u $LOGNAME --debug-init

View File

@@ -4,7 +4,18 @@
# See https://docs.gitlab.com/ee/ci/variables/#priority-of-environment-variables
stages:
- test
sast:
stage: test
test-emacs:
stage: test
image: ubuntu:latest
before_script:
- apt-get update
- apt-get install -y emacs-nox
script:
- ./.doom.d/test-emacs.sh
include:
- template: Security/SAST.gitlab-ci.yml