add initial GitHub action CI
This commit is contained in:
parent
90b59d00df
commit
5dd742782a
1 changed files with 34 additions and 0 deletions
34
.github/workflows/test.yml
vendored
Normal file
34
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
emacs_version:
|
||||
- 25.3
|
||||
- 26.1
|
||||
- snapshot
|
||||
include:
|
||||
- emacs_version: 26.3
|
||||
lint_ignore: 1
|
||||
env:
|
||||
EMACS_LINT_IGNORE: ${{ matrix.lint_ignore }}
|
||||
steps:
|
||||
- uses: purcell/setup-emacs@master
|
||||
with:
|
||||
version: ${{ matrix.emacs_version }}
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
- name: Doom version
|
||||
run: "bin/doom version"
|
||||
- name: Run tests
|
||||
run: "bin/doom test"
|
||||
- name: Compile
|
||||
run: "bin/doom -y compile"
|
Loading…
Add table
Add a link
Reference in a new issue