scel/.github/workflows/test.yml

56 lines
1.1 KiB
YAML
Raw Normal View History

2021-08-09 19:58:08 +00:00
name: CI
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
2022-07-30 17:14:16 +00:00
- '**.org'
2021-08-09 19:58:08 +00:00
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 27.2
2022-07-30 17:14:16 +00:00
- 28.1
- snapshot
2021-08-09 19:58:08 +00:00
steps:
- name: Set up Emacs
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs_version}}
2022-07-30 17:14:16 +00:00
- name: Install w3m
run: sudo apt-get install -y w3m
2021-08-09 19:58:08 +00:00
- name: Install Eldev
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh
- name: Check out the elisp source code
uses: actions/checkout@v2
2022-07-30 17:14:16 +00:00
# - name: Lint source code with elisp-lint
# run: |
# cd el
# eldev -p -dtT -q lint elisp-lint
- name: Lint documentation with checkdoc
run: |
cd el
eldev -p -dtT lint doc
2021-08-09 19:58:08 +00:00
- name: Test the uncompiled source
run: |
cd el
eldev -p -dtT test
- name: Compile and run tests again
run: |
cd el
eldev compile
eldev -p -dtT test