Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ert tests to ci #101

Merged
merged 1 commit into from
Apr 3, 2024
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
34 changes: 33 additions & 1 deletion .github/workflows/melpa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
- 28.2
- 29.1
- 29.2
- 29.3
ignore_warnings:
- false
warnings_as_errors:
- false
- true
check:
- melpa
file:
Expand All @@ -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 }}
1 change: 1 addition & 0 deletions tests/test-ellama.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
;; Copyright (C) 2023 Free Software Foundation, Inc.

;; Author: Sergey Kostyaev <[email protected]>
;; 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
Expand Down