Skip to content

Commit 22710e8

Browse files
committed
Add GH action to run the tests
1 parent 7440baa commit 22710e8

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ci.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.el'
7+
- '**ci.yml'
8+
- 'Makefile'
9+
branches:
10+
- master
11+
12+
pull_request:
13+
paths:
14+
- '**.el'
15+
- '**ci.yml'
16+
- 'Makefile'
17+
branches:
18+
- master
19+
20+
jobs:
21+
check:
22+
runs-on: ubuntu-latest
23+
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
emacs_version: [26.1, 26.3, 27.2, 28.2, 29.4, snapshot]
28+
29+
steps:
30+
- name: Setup Emacs
31+
uses: purcell/setup-emacs@master
32+
with:
33+
version: ${{ matrix.emacs_version }}
34+
35+
- name: Checkout Company
36+
uses: actions/checkout@v3
37+
38+
- name: Run tests
39+
run: make test

0 commit comments

Comments
 (0)