diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index e710241..ef0fa7f 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -40,8 +40,12 @@ jobs: warnings_as_errors: false - name: Run tests run: | - just build - just test + 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/') diff --git a/justfile b/justfile deleted file mode 100644 index 9ab4a3a..0000000 --- a/justfile +++ /dev/null @@ -1,14 +0,0 @@ -# List all recipes -just: - just --list --unsorted - -# Install dependencies and build via cask -build: - emacs --version - cask install - cask build - -# Test -test: - 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