-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
115 additions
and
2 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,57 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
emacs-version: | ||
- 26.3 | ||
- 27.2 | ||
- 28.2 | ||
- 29.4 | ||
experimental: [false] | ||
include: | ||
- os: ubuntu-latest | ||
emacs-version: snapshot | ||
experimental: true | ||
- os: macos-latest | ||
emacs-version: snapshot | ||
experimental: true | ||
- os: windows-latest | ||
emacs-version: snapshot | ||
experimental: true | ||
exclude: | ||
- os: macos-latest | ||
emacs-version: 26.3 | ||
- os: macos-latest | ||
emacs-version: 27.2 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: jcs090218/setup-emacs@master | ||
with: | ||
version: ${{ matrix.emacs-version }} | ||
|
||
- uses: emacs-eask/setup-eask@master | ||
with: | ||
version: 'snapshot' | ||
|
||
- name: Run tests | ||
run: | ||
make ci |
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# ignore these extensions | ||
*.elc | ||
|
||
/.eask | ||
/dist |
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,20 @@ | ||
(package "helm-lsp" | ||
"0.2" | ||
"LSP helm integration") | ||
|
||
(website-url "https://github.com/emacs-lsp/helm-lsp") | ||
(keywords "languages" "debug") | ||
|
||
(package-file "helm-lsp.el") | ||
|
||
(script "test" "echo \"Error: no test specified\" && exit 1") | ||
|
||
(source 'gnu) | ||
(source 'melpa) | ||
|
||
(depends-on "emacs" "26.1") | ||
(depends-on "dash" "2.14.1") | ||
(depends-on "lsp-mode" "5.0") | ||
(depends-on "helm" "2.0") | ||
|
||
(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432 |
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,33 @@ | ||
EMACS ?= emacs | ||
EASK ?= eask | ||
|
||
.PHONY: clean checkdoc lint package install compile test | ||
|
||
ci: clean package install compile | ||
|
||
package: | ||
@echo "Packaging..." | ||
$(EASK) package | ||
|
||
install: | ||
@echo "Installing..." | ||
$(EASK) install | ||
|
||
compile: | ||
@echo "Compiling..." | ||
$(EASK) compile | ||
|
||
test: | ||
@echo "Testing..." | ||
$(EASK) test ert ./test/*.el | ||
|
||
checkdoc: | ||
@echo "Run checkdoc..." | ||
$(EASK) lint checkdoc | ||
|
||
lint: | ||
@echo "Run package-lint..." | ||
$(EASK) lint package | ||
|
||
clean: | ||
$(EASK) clean all |
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