feat: support 0.4.0 grammar #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Emacs Package CI (Eldev) | |
on: | |
push: | |
paths-ignore: ['**.md', '**.org'] | |
pull_request: | |
paths-ignore: ['**.md', '**.org'] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
emacs_version: ['28.1', '28.2', '29.1', '29.2', '29.3', '29.4', 'snapshot'] | |
runs-on: ${{matrix.os}} | |
continue-on-error: ${{matrix.emacs_version == 'snapshot' || (matrix.emacs_version == '29.4' && matrix.os == 'windows-latest')}} | |
env: | |
ELDEV: eldev | |
ELDEV_ARGS: --debug --trace --time --backtrace-on-abort --color | |
steps: | |
- name: Set up Emacs | |
uses: jcs090218/setup-emacs@master | |
with: | |
version: ${{matrix.emacs_version}} | |
- name: Install Eldev | |
uses: emacs-eldev/setup-eldev@v1 | |
- name: Check out the source code | |
uses: actions/checkout@v4 | |
- name: Ensure that copyright notices are up-to-date | |
run: ${ELDEV} ${ELDEV_ARGS} doctor up-to-date-copyright --all-tests | |
- name: Lint the project | |
run: ${ELDEV} ${ELDEV_ARGS} lint | |
- name: Compile the project | |
run: ${ELDEV} ${ELDEV_ARGS} compile --warnings-as-errors | |
- name: Test the project | |
# Add --expect 10 to ensure a minimum number of tests! | |
run: ${ELDEV} ${ELDEV_ARGS} test |