-
-
Notifications
You must be signed in to change notification settings - Fork 21
48 lines (45 loc) · 950 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
41
42
43
44
45
46
47
48
name: CI
on:
pull_request:
push:
paths-ignore:
- '**.md'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: purcell/setup-emacs@master
with:
version: 29.1
- uses: actions/checkout@v4
- name: Run tests
run: make package-lint
build:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 24.3
- 24.5
- 25.1
- 25.3
- 26.1
- 26.3
- 27.1
- 27.2
- 28.1
- 28.2
- 29.1
- snapshot
steps:
- uses: cachix/install-nix-action@v29
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v4
- name: Install deps for tests
run: nix profile install 'nixpkgs#shfmt'
- name: Run tests
run: make compile test