Skip to content

Commit d067e41

Browse files
authored
Merge pull request #36 from emacs-php/feature/ci-github-actions
Add GitHub Actions for CI
2 parents f35dd00 + 79f2ab6 commit d067e41

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/test.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- '**/*.md'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
emacs_version:
14+
- "26.3"
15+
- "27.1"
16+
- snapshot
17+
include:
18+
- emacs_version: snapshot
19+
allow_failure: true
20+
steps:
21+
- uses: actions/setup-python@v2
22+
with:
23+
python-version: '3.x'
24+
architecture: 'x64'
25+
26+
- uses: purcell/setup-emacs@master
27+
with:
28+
version: ${{ matrix.emacs_version }}
29+
30+
- uses: conao3/setup-cask@master
31+
with:
32+
version: 'snapshot'
33+
34+
- uses: actions/checkout@v2
35+
36+
- name: Run make
37+
uses: nick-invision/retry@v2
38+
with:
39+
timeout_seconds: 90
40+
max_attempts: 3
41+
command: 'cask && make'

0 commit comments

Comments
 (0)