Skip to content

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

Test using a matrix of (neo)vim versions

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

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
version: v8.2.0000

Check failure on line 25 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 25, Col: 13): Matrix exclude key 'version' does not match any key within the matrix .github/workflows/ci.yml (Line: 26, Col: 13): Matrix exclude key 'neovim' does not match any key within the matrix
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 }}