Skip to content

Commit e494826

Browse files
committed
CI: test against Emacs 25.3, 29.1, 30.2
1 parent f7c4f64 commit e494826

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

.github/workflows/test.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,49 @@ on: [push, pull_request]
33
jobs:
44
test:
55
runs-on: ubuntu-latest
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
# Skipping some in between releases.
10+
emacs: ["25.3", "29.1", "30.2"]
611
steps:
7-
- uses: purcell/setup-emacs@master
12+
- uses: actions/checkout@v6
13+
14+
- name: Set up Emacs
15+
uses: purcell/setup-emacs@master
16+
with:
17+
version: ${{ matrix.emacs }}
18+
19+
- name: Install zbar
20+
run: |
21+
sudo apt update
22+
sudo apt install -y zbar-tools
23+
24+
- name: Build
25+
run: make
26+
27+
- name: Test
28+
run: make test
29+
30+
test-snapshot:
31+
runs-on: ubuntu-latest
32+
# allow snapshot failures so CI doesn't block on nightly breakage
33+
continue-on-error: true
34+
steps:
35+
- uses: actions/checkout@v6
36+
37+
- name: Set up Emacs (snapshot)
38+
uses: purcell/setup-emacs@master
839
with:
940
version: snapshot
41+
1042
- name: Install zbar
11-
run: sudo apt install -y zbar-tools
12-
- uses: actions/checkout@v2
43+
run: |
44+
sudo apt update
45+
sudo apt install -y zbar-tools
46+
1347
- name: Build
1448
run: make
49+
1550
- name: Test
1651
run: make test

0 commit comments

Comments
 (0)