Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cask for testing #46

Merged
merged 4 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading