-
-
Notifications
You must be signed in to change notification settings - Fork 63
58 lines (55 loc) · 1.37 KB
/
CI.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# uses https://github.com/leotaku/elisp-check for CI and
# https://github.com/purcell/setup-emacs for Emacs setup
name: check
on:
pull_request:
push:
branches:
- master
- 'releases/*'
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- 26.1
- 26.2
- 26.3
- 27.1
- 27.2
- 28.1
- 28.2
- 29.1
- 29.2
- 29.3
ignore_warnings:
- true
# NOTE commented out because failure notifications are a distraction
# include:
# - emacs_version: snapshot
# ignore_warnings: true
steps:
- uses: actions/checkout@v2
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- name: Run ert
uses: leotaku/elisp-check@master
with:
check: ert
file: 'julia-mode-tests.el'
ignore_warnings: ${{ matrix.ignore_warnings }}
# - name: Run package-lint # FIXME disabled as failing
# uses: leotaku/elisp-check@master
# with:
# file: "julia-mode.el"
# ignore_warnings: true
# check: package-lint
- name: Run byte-compile
uses: leotaku/elisp-check@master
with:
file: "julia-mode.el"
ignore_warnings: true
check: byte-compile