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

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

[elpa] externals/ellama f963ee564b 4/6: add ert tests to ci


From: ELPA Syncer
Subject: [elpa] externals/ellama f963ee564b 4/6: add ert tests to ci
Date: Wed, 3 Apr 2024 12:58:54 -0400 (EDT)

branch: externals/ellama
commit f963ee564b279025165c6a6fcecb72a71625bdf9
Author: Sergey Kostyaev <sskostyaev@gmail.com>
Commit: Sergey Kostyaev <sskostyaev@gmail.com>

    add ert tests to ci
---
 .github/workflows/melpa.yml | 34 +++++++++++++++++++++++++++++++++-
 tests/test-ellama.el        |  1 +
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/melpa.yml b/.github/workflows/melpa.yml
index 21381346a5..73314abfc2 100644
--- a/.github/workflows/melpa.yml
+++ b/.github/workflows/melpa.yml
@@ -25,10 +25,11 @@ jobs:
           - 28.2
           - 29.1
           - 29.2
+          - 29.3
         ignore_warnings:
           - false
         warnings_as_errors:
-          - false
+          - true
         check:
           - melpa
         file:
@@ -45,3 +46,34 @@ jobs:
           file: ${{ matrix.file }}
           ignore_warnings: ${{ matrix.ignore_warnings }}
           warnings_as_errors: ${{ matrix.warnings_as_errors }}
+  test-ert:
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        emacs_version:
+          - 28.1
+          - 28.2
+          - 29.1
+          - 29.2
+          - 29.3
+        ignore_warnings:
+          - false
+        warnings_as_errors:
+          - true
+        check:
+          - ert
+        file:
+          - 'tests/test*.el'
+    # Steps represent a sequence of tasks that will be executed as part of the 
job
+    steps:
+      - uses: actions/checkout@v4
+      - uses: purcell/setup-emacs@master
+        with:
+          version: ${{ matrix.emacs_version }}
+      - uses: leotaku/elisp-check@master
+        with:
+          check: ${{ matrix.check }}
+          file: ${{ matrix.file }}
+          ignore_warnings: ${{ matrix.ignore_warnings }}
+          warnings_as_errors: ${{ matrix.warnings_as_errors }}
diff --git a/tests/test-ellama.el b/tests/test-ellama.el
index e2dff6e826..32695010a6 100644
--- a/tests/test-ellama.el
+++ b/tests/test-ellama.el
@@ -3,6 +3,7 @@
 ;; Copyright (C) 2023  Free Software Foundation, Inc.
 
 ;; Author: Sergey Kostyaev <sskostyaev@gmail.com>
+;; Package-Requires: ((emacs "28.1") (llm "0.6.0") (spinner "1.7.4"))
 
 ;; This file is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by



reply via email to

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