Skip to content
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
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
52 changes: 52 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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@v3

- 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*~
.cask/
.eask/
/dist
*.elc
.vagrant/
19 changes: 19 additions & 0 deletions Eask
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
(package "pythonic"
"0.2"
"Utility functions for writing pythonic emacs package")

(website-url "https://github.com/proofit404/pythonic")
(keywords "convenience" "pythonic")

(package-file "pythonic.el")

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

(source 'gnu)
(source 'melpa)

(depends-on "emacs" "25.1")
(depends-on "s")
(depends-on "f")

(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432
33 changes: 33 additions & 0 deletions Makefile
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
2 changes: 1 addition & 1 deletion pythonic.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; pythonic.el --- Utility functions for writing pythonic emacs package. -*- lexical-binding: t; -*-
;;; pythonic.el --- Utility functions for writing pythonic emacs package -*- lexical-binding: t; -*-

;; Copyright (C) 2015-2021 by Artem Malyshev

Expand Down