diff --git a/.doom.d/test-emacs.sh b/.doom.d/test-emacs.sh new file mode 100755 index 0000000..49a6c36 --- /dev/null +++ b/.doom.d/test-emacs.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +emacs --batch --load ~/.emacs.d/init.el -u $LOGNAME --debug-init diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22477df..35db5f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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