-
Notifications
You must be signed in to change notification settings - Fork 130
44 lines (42 loc) · 1.23 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
name: RunTests
on:
pull_request:
types:
- '*'
push:
branches:
- main
schedule:
# Every week: https://crontab.guru/#0_0_*_*_0
- cron: '0 0 * * 0'
jobs:
run_tests:
strategy:
fail-fast: false
matrix:
os:
- 'ubuntu-latest'
emacs_version:
- 'snapshot'
- '28.1'
- '27.2'
- '26.3'
# runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.emacs_version == 'snapshot' }}
steps:
- uses: actions/checkout@v2
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
# Don't run "make doc"; it's finicky as it could fail on running the getJSON command in hugo.
# - name: make doc
# run: make --no-print-directory doc # Just ensure that "make doc" doesn't fail for any reason.. this is *not* used to do Org->Markdown doc conversion
- name: Version checks
run: |
export PATH="/tmp/${USER}/ox-hugo-dev/pandoc/bin:${PATH}"
make --no-print-directory vcheck
- name: Run tests
run: |
export PATH="/tmp/${USER}/ox-hugo-dev/pandoc/bin:${PATH}"
make --no-print-directory -j1 test