-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (31 loc) · 876 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
name: CI
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 26.1 # buster
- 26.2
- 26.3 # focal
- 27.1 # buster-backports/bullseye/jammy
- 27.2
- 28.1
- 28.2 # bookworm
- snapshot
steps:
- name: Install Emacs
uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- name: Checkout
uses: actions/checkout@v2
- name: Run tests
run: |
emacs --debug-init --batch -u $USER
./tests/check_daemon_starts.sh 0
./tests/check_daemon_starts.sh 1
emacs -q --batch -l "tests/my-ert.el" -f ert-run-tests-batch-and-exit
emacs -q --batch -l "~/.emacs.d/mininit.el" -l "tests/my-ert.el" -f ert-run-tests-batch-and-exit