Skip to content

Test using a matrix of (neo)vim versions #218

Test using a matrix of (neo)vim versions

Test using a matrix of (neo)vim versions #218

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: raven-actions/actionlint@v2
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install -r requirements.txt
- uses: rhysd/action-setup-vim@v1
id: vim
- run: make lint
env:
VIM: ${{ steps.vim.outputs.executable }}
test:
strategy:
fail-fast: false
matrix:
vim:
- version: stable
neovim: false
- version: v8.2.0000
neovim: false
- version: stable
neovim: true
name: "test (${{ matrix.vim.neovim && 'neovim' || 'vim' }} ${{ matrix.vim.version }})"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
id: vim
with:
neovim: ${{ matrix.vim.neovim }}
version: ${{ matrix.vim.version }}
- run: make test
env:
VIM: ${{ steps.vim.outputs.executable }}