Skip to content

Commit 3dc3a00

Browse files
authored
Merge pull request #3 from jcs-PR/test/eask
test: Build with Eask
2 parents 162a1ab + b86ce06 commit 3dc3a00

File tree

4 files changed

+78
-0
lines changed

4 files changed

+78
-0
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: daily

.github/workflows/test.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
test:
16+
runs-on: ${{ matrix.os }}
17+
continue-on-error: ${{ matrix.experimental }}
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
os: [ubuntu-latest, macos-latest, windows-latest]
22+
emacs-version:
23+
- 28.2
24+
- 29.1
25+
experimental: [false]
26+
include:
27+
- os: ubuntu-latest
28+
emacs-version: snapshot
29+
experimental: true
30+
- os: macos-latest
31+
emacs-version: snapshot
32+
experimental: true
33+
- os: windows-latest
34+
emacs-version: snapshot
35+
experimental: true
36+
37+
steps:
38+
- uses: actions/checkout@v4
39+
40+
- uses: jcs090218/setup-emacs@master
41+
with:
42+
version: ${{ matrix.emacs-version }}
43+
44+
- uses: emacs-eask/setup-eask@master
45+
with:
46+
version: 'snapshot'
47+
48+
- name: Run tests
49+
run: |
50+
eask package
51+
eask install
52+
eask compile

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
*.elc
2+
/.eask/
3+
/dist

Eask

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
(package "ob-phpstan"
2+
"0.0.1"
3+
"Babel Functions for PHPStan")
4+
5+
(website-url "https://github.com/emacs-php/ob-phpstan")
6+
(keywords "tools" "org" "literate programming" "reproducible research" "php")
7+
8+
(package-file "ob-phpstan.el")
9+
10+
(script "test" "echo \"Error: no test specified\" && exit 1")
11+
12+
(source 'gnu)
13+
(source 'melpa)
14+
15+
(depends-on "emacs" "28")
16+
(depends-on "org" "9")
17+
18+
(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432

0 commit comments

Comments
 (0)