2022-07-13 00:01:17 +00:00
|
|
|
|
name: CI
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
- master
|
|
|
|
|
- main
|
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
test:
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
2022-07-13 14:04:20 +00:00
|
|
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
|
# for some reason, Windows cannot connect to Melpa on
|
|
|
|
|
# Emacs 27, so no Windows
|
2022-07-13 00:01:17 +00:00
|
|
|
|
emacs-version:
|
2022-07-13 13:56:02 +00:00
|
|
|
|
- 27.1
|
2022-07-13 00:01:17 +00:00
|
|
|
|
- 27.2
|
|
|
|
|
- 28.1
|
|
|
|
|
- snapshot
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
|
|
- uses: jcs090218/setup-emacs@master
|
|
|
|
|
with:
|
|
|
|
|
version: ${{ matrix.emacs-version }}
|
|
|
|
|
|
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
|
with:
|
|
|
|
|
node-version: '16'
|
|
|
|
|
|
|
|
|
|
- uses: emacs-eask/setup-eask@master
|
|
|
|
|
with:
|
|
|
|
|
version: 'snapshot'
|
|
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
|
run:
|
|
|
|
|
make ci
|