Skip to content

Commit 4ccf052

Browse files
committed
Run Emacs unit tests in CI
1 parent 54088cd commit 4ccf052

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
build:
9+
build-rust:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
@@ -27,3 +27,15 @@ jobs:
2727
- name: Static code analysis with clippy
2828
run: |
2929
cargo clippy --all -- -D warnings
30+
31+
tests-emacs:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: purcell/setup-emacs@master
36+
with:
37+
version: 29.4
38+
- name: Run ERT tests
39+
working-directory: emacs
40+
run: |
41+
emacs -q -batch -l ert -l deps.el -l sepl-mode.el -l tests.el -f ert-run-tests-batch-and-exit

0 commit comments

Comments
 (0)