-
-
Notifications
You must be signed in to change notification settings - Fork 580
34 lines (27 loc) · 867 Bytes
/
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
name: CI
on:
push:
paths-ignore: ['**.md', '**.adoc']
pull_request:
paths-ignore: ['**.md', '**.adoc']
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{matrix.emacs_version == 'snapshot'}}
strategy:
matrix:
# Earliest supported + latest in each stable branch + snapshot.
emacs_version: ['25.1', '25.3', '26.3', '27.1', '28.1', '29.1', 'snapshot']
steps:
- name: Set up Emacs
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs_version}}
- name: Install Eldev
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh
- name: Check out the source code
uses: actions/checkout@v2
- name: Test the project
run: |
eldev -p -dtT -C test --expect 100
eldev -dtT -C compile --warnings-as-errors