-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (54 loc) · 1.63 KB
/
emacs-ci.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# -*- yaml-indent-offset: 2; -*-
name: Emacs CI
on:
pull_request:
push:
branches:
- master
jobs:
sanity-test:
env:
PEW_HOME: dotfiles/emacs/.emacs.d
strategy:
fail-fast: false
matrix:
emacs_version:
# - 28.1
# - 28.2
# - 29.1
# - 29.2
# - 29.3
- 29.4
- snapshot
runs-on: ubuntu-latest
continue-on-error: true
##
## This is believed to be an unresolved issue from GitHub workflow where
## the pending jobs can be accidentally canceled for an unknown reason
## saying
## "Canceling since a higher priority waiting request for
## 'CI-refs/heads/master' exists"
## Currently a workaround is to disable the concurrency.
##
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: false
steps:
- name: Set up Emacs
uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- name: Check out repo
uses: actions/checkout@v4
- name: Test - Fresh startup with package installation
working-directory: ${{ env.PEW_HOME }}
run: ./pew/tests/test-init.sh $(pwd)
- name: Test - Normal startup
working-directory: ${{ env.PEW_HOME }}
run: ./pew/tests/test-init.sh $(pwd)
- name: Test - Mini startup
working-directory: ${{ env.PEW_HOME }}
run: ./pew/tests/test-init-mini.sh $(pwd)
- name: Test - pewcfg unittest
working-directory: ${{ env.PEW_HOME }}/pew/site-lisp/pewcfg
run: ./tests/run-tests.sh $(pwd)