-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Eldev and new CI file that uses it
- Loading branch information
Showing
3 changed files
with
46 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: CI | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
emacs_version: | ||
# Add more lines like this if you want to test on different Emacs versions. | ||
- 28.1 | ||
- 28.2 | ||
- 29.1 | ||
- 29.2 | ||
steps: | ||
- name: Set up Emacs | ||
uses: jcs090218/setup-emacs@master | ||
with: | ||
version: ${{matrix.emacs_version}} | ||
|
||
- name: Install Eldev | ||
uses: emacs-eldev/setup-eldev@v1 | ||
|
||
- name: Check out the source code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Lint the project | ||
run: | | ||
eldev -p -dtT lint | ||
- name: Test the project | ||
run: | | ||
eldev -p -dtT test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
; -*- mode: emacs-lisp; lexical-binding: t -*- | ||
|
||
;; Uncomment some calls below as needed for your project. | ||
(eldev-use-package-archive 'gnu-elpa) | ||
;(eldev-use-package-archive 'nongnu-elpa) | ||
;(eldev-use-package-archive 'melpa) | ||
(setq eldev-standard-excludes `(:or ,eldev-standard-excludes "plz*" "utilities/*")) | ||
(setq checkdoc-force-docstrings-flag nil) |