Skip to content

Commit ed3ccab

Browse files
committed
Add running tests as separate action
1 parent f6c0bf2 commit ed3ccab

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/lint-emacs.yml

+22-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
paths: ['**.el']
88

99
jobs:
10-
test:
10+
build:
1111
runs-on: ubuntu-latest
1212
# continue-on-error: ${{matrix.emacs_version == 'snapshot'}}
1313

@@ -30,5 +30,26 @@ jobs:
3030
- name: Lint the project
3131
run: eldev -dtT -C compile --warnings-as-errors
3232

33+
test:
34+
35+
runs-on: ubuntu-latest
36+
# continue-on-error: ${{matrix.emacs_version == 'snapshot'}}
37+
38+
strategy:
39+
matrix:
40+
emacs_version: ['snapshot']
41+
42+
steps:
43+
- name: Set up Emacs
44+
uses: purcell/setup-emacs@master
45+
with:
46+
version: ${{matrix.emacs_version}}
47+
48+
- name: Install Eldev
49+
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh
50+
51+
- name: Check out the source code
52+
uses: actions/checkout@v2
53+
3354
- name: Run tests
3455
run: make test

0 commit comments

Comments
 (0)