-
Notifications
You must be signed in to change notification settings - Fork 20
42 lines (42 loc) · 930 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
name: CI
on:
push:
paths-ignore:
- '**.md'
- 'examples/*'
- 'extra/*'
pull_request:
schedule:
- cron: '0 12 1 * *'
jobs:
test:
name: Checks/Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
emacs_version:
- '26.3'
- '29.2'
# TODO: Re-enable in future
# - snapshot
os:
- ubuntu-latest
- macos-latest
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10.6'
- name: Setup checks
run: 'make setup-check'
- name: Run checks
run: 'make check'
- name: Setup unit testing
run: 'make setup-tests'
- name: Run ERT unit tests
env:
WAIT_TIME: 3
run: 'make test'