-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (46 loc) · 1.02 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: CI
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{matrix.allow_failures}}
strategy:
fail-fast: false
matrix:
emacs_version:
- 27.1
- 27.2
- 28.1
- 28.2
allow_failures: [false]
include:
- emacs_version: snapshot
allow_failures: true
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: x64
- name: Set up Emacs
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs_version}}
- name: Set up Cask
uses: conao3/setup-cask@master
with:
version: 'snapshot'
- name: Check out the source code
uses: actions/checkout@v2
- name: Install dependencies
run: cask install
- name: Byte compile
run: make compile
- name: Run tests
run: make test