-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from kgrotel/test
Maintenance and Style
- Loading branch information
Showing
9 changed files
with
874 additions
and
72 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,43 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
paths-ignore: ['**.md', '**.adoc', "**.org"] | ||
pull_request: | ||
paths-ignore: ['**.md', '**.adoc', "**.org"] | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{matrix.os}} | ||
continue-on-error: ${{matrix.emacs_version == 'snapshot'}} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
emacs_version: ['29.1', 'snapshot'] | ||
include: | ||
- os: macos-latest | ||
emacs_version: '29.1' | ||
- os: windows-latest | ||
emacs_version: '29.1' | ||
|
||
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: Test the project | ||
run: | | ||
eldev -p -TC test --expect 9 | ||
eldev -vTC compile --warnings-as-errors | ||
- name: Ensure that copyright notices are up-to-date | ||
run: | | ||
eldev -p -vTC doctor up-to-date-copyright |
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,6 @@ | ||
; -*- mode: emacs-lisp; lexical-binding: t -*- | ||
|
||
(setf eldev-release-post-release-commit-message "Post-release version bump." | ||
eldev-release-post-release-commit (lambda (version) | ||
(let ((eldev-release-min-version-size 3)) | ||
(eldev-release-next-snapshot-version-unless-already-snapshot version)))) |
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
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
Oops, something went wrong.