-
Notifications
You must be signed in to change notification settings - Fork 51
40 lines (38 loc) · 933 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
35
36
37
38
39
40
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 25.3
- 26.3
- 27.2
- 28.1
- 28.2
- 29.1
- 29.2
- 29.3
- 29.4
- snapshot
include:
- emacs_version: snapshot
allow_failure: true
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v1
- uses: conao3/setup-cask@master
if: steps.cache-cask-executable.outputs.cache-hit != 'true'
with:
version: snapshot
- name: Install dependencies
run: 'cask install'
- name: Run tests
if: matrix.allow_failure != true
run: 'cask exec ecukes'
- name: Run tests (allow failure)
if: matrix.allow_failure == true
run: 'cask exec ecukes || true'