11---
22#
3- # Copyright (C) 2024-2025 James Cherti | https://www.jamescherti.com/contact/
4- # URL: https://github.com/jamescherti/flymake-ansible-lint.el
5- #
63# This file is free software; you can redistribute it and/or modify
74# it under the terms of the GNU General Public License as published by
85# the Free Software Foundation; either version 2, or (at your option)
1815#
1916
2017name : CI
21- on : [push, pull_request]
18+ on : [push, pull_request] # yamllint disable-line rule:truthy
2219
2320jobs :
2421 test :
@@ -31,17 +28,16 @@ jobs:
3128 - 28.1
3229 - 29.1
3330 - 29.4
31+ - 30.1
3432 python-version :
3533 - 3.11
3634 steps :
35+ # Cask
3736 - uses : actions/checkout@v2
38- - name : Set up Python ${{ matrix.python-version }}
39- uses : actions/setup-python@v1
40- with :
41- python-version : ${{ matrix.python-version }}
4237 - uses : purcell/setup-emacs@master
4338 with :
4439 version : ${{ matrix.emacs-version }}
40+
4541 - uses : actions/cache@v4
4642 id : cache-cask-packages
4743 with :
@@ -58,15 +54,18 @@ jobs:
5854 version : snapshot
5955 - run : echo "$HOME/.cask/bin" >> $GITHUB_PATH
6056
61- - name : Install
62- run : |
63- python -m pip install --upgrade pip
64- git clone https://github.com/riscy/melpazoid.git ~/melpazoid
65- python -m pip install ~/melpazoid
57+ # Tests
58+ - name : Compile
59+ run : make compile
60+ env :
61+ CASK_PATH : $HOME/.cask/bin
62+
63+ - name : Package-lint
64+ run : make package-lint
65+ env :
66+ CASK_PATH : $HOME/.cask/bin
6667
67- - name : Run melpazoid
68+ - name : Unit-tests
69+ run : make test
6870 env :
69- RECIPE : (flymake-ansible-lint :repo "jamescherti/flymake-ansible-lint.el" :branch "${{ github.ref_name }}" :fetcher github :files ("flymake-ansible-lint.el"))
70- EXIST_OK : false
7171 CASK_PATH : $HOME/.cask/bin
72- run : ' echo -e "Ref: $GITHUB_REF\n$(emacs --version)" && make -C ~/melpazoid'
0 commit comments