-
Notifications
You must be signed in to change notification settings - Fork 15
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 #46 from psibi/ci-cask
Use cask for testing
- Loading branch information
Showing
4 changed files
with
25 additions
and
10 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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
emacs_version: | ||
- release-snapshot | ||
- 29.2 | ||
- 29.1 | ||
- 28.2 | ||
- 27.2 | ||
|
@@ -29,19 +29,23 @@ jobs: | |
- uses: purcell/setup-emacs@master | ||
with: | ||
version: ${{ matrix.emacs_version }} | ||
- uses: cask/setup-cask@v1 | ||
with: | ||
version: 0.9.0 | ||
- uses: leotaku/[email protected] | ||
with: | ||
file: "justl.el" | ||
check: melpa | ||
ignore_warnings: ${{ matrix.ignore_warnings }} | ||
warnings_as_errors: false | ||
- name: ERT tests | ||
uses: leotaku/elisp-check@master | ||
with: | ||
file: ./test/justl-test.el | ||
check: ert | ||
ignore_warnings: ${{ matrix.ignore_warnings }} | ||
warnings_as_errors: true | ||
- name: Run tests | ||
run: | | ||
emacs --version | ||
cask install | ||
cask build | ||
mv test/justfile ./justfile | ||
cask emacs --batch -L . -L test -f batch-byte-compile $(cask files) | ||
cask emacs --batch -L . -L test -l test/justl-test.el -f ert-run-tests-batch-and-exit | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
|
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,10 @@ | ||
(source gnu) | ||
(source melpa) | ||
|
||
(package-file "justl.el") | ||
|
||
(development | ||
(depends-on "transient") | ||
(depends-on "s") | ||
(depends-on "f") | ||
(depends-on "inheritenv")) |
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