Skip to content

Update for Emacs 29 #60

Update for Emacs 29

Update for Emacs 29 #60

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{matrix.version == 'snapshot'}}
strategy:
matrix:
# '25.1' fails for some reason even though `make lint_in_docker` succeeds.
# swift-mode-beginning-of-defun.el:1081: All variables and subroutines might as well have a documentation string
# swift-mode-beginning-of-defun.el:1135: All variables and subroutines might as well have a documentation string
version:
- '29.1'
- '28.2'
- '28.1'
- '27.2'
- '27.1'
- '26.3'
- '26.2'
- '26.1'
- '25.3'
- '25.2'
- '24.5'
- '24.4'
- 'snapshot'
env:
ELDEV_DIR: .eldev
ELDEV: .eldev/bin/eldev
steps:
- uses: actions/checkout@v3
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.version }}
- name: Install Eldev
run: |
mkdir -p $ELDEV_DIR/bin
curl -fsSL https://raw.github.com/doublep/eldev/master/bin/eldev > $ELDEV_DIR/bin/eldev
chmod a+x $ELDEV_DIR/bin/eldev
- name: Run linters
# Indentation rules changed since 29.
if: ${{ startsWith(matrix.version, '29.') }}
run: find ./*.el test/*.el '!' -name '*autoloads.el' -exec ${ELDEV} lint '{}' '+'
- name: Run tests
run: ./scripts/run_test.sh