Skip to content

Commit

Permalink
Merge pull request #46 from psibi/ci-cask
Browse files Browse the repository at this point in the history
Use cask for testing
  • Loading branch information
psibi authored Feb 24, 2024
2 parents 476bf9c + 4e1871f commit 1b16ca4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
emacs_version:
- release-snapshot
- 29.2
- 29.1
- 28.2
- 27.2
Expand All @@ -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/')
Expand Down
10 changes: 10 additions & 0 deletions Cask
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"))
3 changes: 2 additions & 1 deletion Changelog.org
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
* Unreleased
* 0.14

- Respect buffer-local environments, for compatibility with ~envrc.el~
when ~just~ is installed on a per-project basis.
- Add ~justl-include-private-recipes~ to show private recipes in the
list (defaults to on).
- Rewritten internals, using ~just~ itself to parse recipe information.
- Add ~justl-per-recipe-buffer~ to create new buffers per recipe.
- Use Cask for development and testing.

* 0.13

Expand Down
2 changes: 1 addition & 1 deletion justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
;; USA

;; Version: 0.13
;; Version: 0.14
;; Author: Sibi Prabakaran
;; Keywords: just justfile tools processes
;; URL: https://github.com/psibi/justl.el
Expand Down

0 comments on commit 1b16ca4

Please sign in to comment.