[REF] Lint #4
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: CI | |
on: | |
push: | |
paths-ignore: ['**.md'] | |
pull_request: | |
paths-ignore: ['**.md'] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.emacs_version == 'snapshot' }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
emacs_version: [ | |
'27.1', '27.2', | |
'28.1', '28.2', | |
'29.1', '29.2', '29.3', | |
'snapshot' | |
] | |
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 | |
with: | |
fetch-depth: 0 | |
- name: Test the project | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
run: | | |
eldev \ | |
--debug \ | |
--packaged \ | |
--trace \ | |
--time \ | |
--color=always \ | |
test | |
eldev \ | |
--debug \ | |
--trace \ | |
--time \ | |
--color=always \ | |
test -u on,coveralls | |
- name: Ensure clean byte-compilation | |
run: | | |
eldev \ | |
--debug \ | |
--trace \ | |
--time \ | |
--color=always \ | |
compile \ | |
--warnings-as-errors | |
- name: Lint the project | |
run: | | |
eldev \ | |
--debug \ | |
--trace \ | |
--time \ | |
--color=always \ | |
lint | |
- name: Run all doctor tests | |
run: | | |
eldev \ | |
--verbose \ | |
--debug \ | |
--packaged \ | |
--trace \ | |
--time \ | |
--color=always \ | |
--backtrace-on-abort \ | |
doctor --all-tests |