-
-
Notifications
You must be signed in to change notification settings - Fork 93
84 lines (82 loc) · 2.44 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
on: push
jobs:
test-windows:
strategy:
matrix:
emacs-version: [27.2, 28.2, 29.3, snapshot]
runs-on: windows-latest
defaults:
run:
shell: powershell
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: jcs090218/setup-emacs-windows@master
with:
version: ${{ matrix.emacs-version }}
- uses: msys2/setup-msys2@v2
with:
msystem: MSYS
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.9
- name: Install requirements
run: |
conda install -c conda-forge pandoc
conda install -c anaconda jupyter
curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/eldev | sh
# Make eldev available to all future actions
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Check Jupyter version
run: |
mkdir -p $(jupyter --runtime-dir)
jupyter --paths
jupyter --version
jupyter kernelspec list
- name: Byte compilation
run: |
msys2 -c 'make compile'
- name: Run tests
run: |
msys2 -c 'make test'
test-unix-like:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
emacs-version: [27.2, 28.2, 29.3, snapshot]
exclude:
- os: macos-latest
emacs-version: 27.2
defaults:
run:
shell: bash -el {0}
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.9
- name: Install requirements
run: |
conda install -c conda-forge pandoc
conda install -c anaconda jupyter
curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/eldev | sh
# Make eldev available to all future actions
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Check Jupyter version
run: |
mkdir -p $(jupyter --runtime-dir)
jupyter --paths
jupyter --version
jupyter kernelspec list
- name: Byte compilation
run: |
emacs -Q --batch --eval='(princ (concat system-configuration "\n"))'
make compile
- name: Run tests
run: |
make test