Skip to content

Commit

Permalink
Enable github CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jxa committed Aug 9, 2021
1 parent 9b160ec commit 1a15de4
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
# Add more lines like this if you want to test on different Emacs versions.
- 26.3
- 27.2

steps:
- name: Set up Emacs
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs_version}}

- 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
with:
path: el

- name: Test the uncompiled source
run: |
eldev -p -dtT test
- name: Compile and run tests again
run: |
eldev compile
eldev -p -dtT test

0 comments on commit 1a15de4

Please sign in to comment.