2019-10-22 18:03:04 +02:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- '**/*.md'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
emacs_version:
|
|
|
|
- 26.1
|
|
|
|
- 26.2
|
|
|
|
- 26.3
|
|
|
|
- snapshot
|
|
|
|
steps:
|
2019-11-04 12:46:43 +01:00
|
|
|
|
|
|
|
- name: Set up Emacs
|
|
|
|
uses: purcell/setup-emacs@v1.0
|
|
|
|
with:
|
|
|
|
version: ${{ matrix.emacs_version }}
|
|
|
|
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
- name: Install taskwarrior package
|
|
|
|
run: sudo apt-get install -y taskwarrior
|
|
|
|
|
|
|
|
- name: Create taskwarrior config
|
|
|
|
run: echo -e 'data.location=~/.task\nverbose=no' > ~/.taskrc
|
|
|
|
|
|
|
|
- name: Install elisp dependencies
|
|
|
|
run: make ci-dependencies
|
|
|
|
|
|
|
|
# TODO: Replace this with `make check` when packaging for MELPA
|
|
|
|
|
|
|
|
- name: Run checkdoc
|
|
|
|
run: make lint-checkdoc
|
|
|
|
|
|
|
|
- name: Run ERT test suite
|
|
|
|
run: make test
|