Skip to content

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

Test using a matrix of (neo)vim versions

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

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
checks:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
vim:
- version: stable
neovim: false
- version: v8.2.0000
neovim: false
exclude:
- os: macos-latest
vim:
version: v8.2.0000
neovim: false
# - version: stable
# neovim: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- uses: rhysd/action-setup-vim@v1
id: vim
with:
neovim: ${{ matrix.vim.neovim }}
version: ${{ matrix.vim.version }}
- name: Run lint
run: |
pip install -r requirements.txt
make lint VIM=${{ steps.vim.outputs.executable }}
- name: Run tests
run: make test VIM=${{ steps.vim.outputs.executable }}