-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.01 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
- master
schedule:
# Every week: https://crontab.guru/#0_0_*_*_0
- cron: '0 0 * * 0'
jobs:
run_tests:
strategy:
fail-fast: false
matrix:
os:
- 'ubuntu-latest'
- 'windows-latest'
- 'macos-latest'
emacs_version:
- 'snapshot'
- '27.2'
- '26.3'
# runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.emacs_version == 'snapshot' }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
if: matrix.os != 'windows-latest'
- uses: jcs090218/setup-emacs-windows@master
with:
version: ${{ matrix.emacs_version }}
if: matrix.os == 'windows-latest'
- name: Generate hugo site
run: make --no-print-directory -j1 md