Skip to content

Commit

Permalink
Add workflow to test Emacs package
Browse files Browse the repository at this point in the history
  • Loading branch information
d-torrance committed Sep 2, 2024
1 parent f010a8f commit 2e9f52e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Test
on:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Emacs
run: sudo apt-get install -y emacs-nox
- name: Byte-compile
run: |
emacs --batch --eval '(setq byte-compile-error-on-warn t)' \
--eval '(add-to-list (quote load-path) ".")' \
-f batch-byte-compile M2*.el M2-symbols.el.gz

0 comments on commit 2e9f52e

Please sign in to comment.