Skip to content

Commit

Permalink
test: Build with Eask
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Sep 15, 2023
1 parent 9a20067 commit 9b9b7d6
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
54 changes: 54 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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.1
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

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: |
eask package
eask install
eask compile
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
*.elc
*.rej
/.cask
/.eask
/dist
/flycheck*
/phpactor-autoloads.el
/vendor
22 changes: 22 additions & 0 deletions Eask
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
(package "php-suite"
"0.0.1"
"PHP coding integration suite")

(website-url "https://github.com/emacs-php/php-suite")
(keywords "tools" "php")

(package-file "php-suite.el")

(script "test" "echo \"Error: no test specified\" && exit 1")

(source "gnu")

(depends-on "emacs" "24.3")
(depends-on "cl-lib" "0.5")
(depends-on "php-mode" "1.19")
(depends-on "php-runtime" "0.1.0")
(depends-on "web-mode" "16.0")
(depends-on "composer" "0.0.8")
(depends-on "phpunit" "0.16")
(depends-on "psysh" "0.0.3")
(depends-on "flycheck-phpstan" "0.2.1")

0 comments on commit 9b9b7d6

Please sign in to comment.