emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnuplot 2c6137c 159/184: Merge pull request #53 from conao


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot 2c6137c 159/184: Merge pull request #53 from conao3/add-github-actions
Date: Sun, 29 Aug 2021 11:03:36 -0400 (EDT)

branch: elpa/gnuplot
commit 2c6137cf63eca6efd609604672dc51d27363c610
Merge: 8d5b7f5 c1e6018
Author: Naoya Yamashita <conao3@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #53 from conao3/add-github-actions
    
    Add GitHub Actions CI configure files
---
 .github/workflows/test.yml | 36 ++++++++++++++++++++++++++++++++++++
 .gitignore                 |  1 +
 Cask                       |  7 +++++++
 tests/gnuplot-test.el      | 40 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 84 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..956ae14
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,36 @@
+name: CI
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        emacs_version:
+          - '24.4'
+          - '24.5'
+          - '25.1'
+          - '25.2'
+          - '25.3'
+          - '26.1'
+          - '26.2'
+          - '26.3'
+          - 'snapshot'
+        include:
+          - emacs_version: 'snapshot'
+            allow_failure: true
+    steps:
+    - uses: actions/checkout@v1
+    - uses: actions/setup-python@v1.1.1
+    - uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+    - uses: conao3/setup-cask@master
+
+    - name: Run tests
+      if: matrix.allow_failure != true
+      run: 'cask && cask build && cask exec buttercup -L .'
+
+    - name: Run tests (allow failure)
+      if: matrix.allow_failure == true
+      run: 'cask && cask build && cask exec buttercup -L . || true'
diff --git a/.gitignore b/.gitignore
index 35a1a4d..90bdf6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+/.cask
 *.elc
 *.log
 *.aux
diff --git a/Cask b/Cask
new file mode 100644
index 0000000..aab2b91
--- /dev/null
+++ b/Cask
@@ -0,0 +1,7 @@
+(source gnu)
+(source melpa)
+
+(package-file "gnuplot.el")
+
+(development
+ (depends-on "buttercup"))
diff --git a/tests/gnuplot-test.el b/tests/gnuplot-test.el
new file mode 100644
index 0000000..e08de85
--- /dev/null
+++ b/tests/gnuplot-test.el
@@ -0,0 +1,40 @@
+;;; gnuplot-test.el ---                             -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2020  Naoya Yamashita
+
+;; Author: Naoya Yamashita <conao3@gmail.com>
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;
+
+
+;;; Code:
+
+(require 'buttercup)
+(require 'gnuplot)
+
+(describe "A suite"
+  (it "contains a spec with an expectation"
+      (expect t :to-be t)))
+
+;; (provide 'gnuplot-test)
+
+;; Local Variables:
+;; indent-tabs-mode: nil
+;; End:
+
+;;; gnuplot-test.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]