Skip to content

Add options to customize citar-add-file-to-library #424

Add options to customize citar-add-file-to-library

Add options to customize citar-add-file-to-library #424

Workflow file for this run

name: CI
on:
push:
branches:
- main
- 'releases/**'
paths:
- '**.el'
- Eldev
pull_request:
paths:
- '**.el'
- Eldev
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.emacs_version == 'snapshot' }}
strategy:
fail-fast: false
matrix:
emacs_version:
- 27.2
- 28.2
- snapshot
action:
- compile
- test
- lint
exclude:
- emacs_version: snapshot
action: compile
- emacs_version: 28.2
action: lint
- emacs_version: 27.2
action: lint
steps:
- name: Set up Emacs ${{matrix.emacs_version}}
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs_version}}
- name: Install Eldev
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh
- name: Check out project
uses: actions/checkout@v3
- name: Install dependencies
run: |
eldev --color --trace prepare build
- name: Byte-compile
if: ${{ matrix.action == 'compile' }}
run: |
eldev --color --debug --backtrace --packaged \
compile --load-before-compiling --keep-going --warnings-as-errors
- name: Run tests
if: ${{ matrix.action == 'test' }}
run: |
eldev --color --packaged --debug --time test
- name: Lint Elisp
if: ${{ matrix.action == 'lint' }}
run: |
eldev --color --packaged lint elisp
- name: Lint documentation
if: ${{ matrix.action == 'lint' }}
run: |
eldev --color lint doc
- name: Lint regex
if: ${{ matrix.action == 'lint' }}
run: |
eldev --color lint re
- name: Lint package metadata
if: ${{ matrix.action == 'lint' }}
continue-on-error: true
run: |
eldev --color lint package