-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (40 loc) · 1.03 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# Emacs 27.x spits out errors during package-lint. Ignore those
# warnings.
- emacs_version: 27.1
warnings_as_errors: false
- emacs_version: 27.2
warnings_as_errors: false
# All other Emacs versions should have no warnings.
- emacs_version: 28.1
warnings_as_errors: true
- emacs_version: 28.2
warnings_as_errors: true
- emacs_version: 29.1
warnings_as_errors: true
steps:
- uses: purcell/[email protected]
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v4
- uses: leotaku/elisp-check@master
with:
check: melpa
file: '*.el'
warnings_as_errors: ${{ matrix.warnings_as_errors }}