Test with several Vim and Neovim versions and fixed deps

Run tests on GitHub Actions with Vim 8.2.0000, the latest Vim, Neovim
0.9.5 and the latest Neovim by rhysd/action-setup-vim. test/run.sh only
uses the editors in $VUE_TEST_EDITORS if set, and fails if none runs.

Clone the syntax plugins for tests at fixed commits, so changes there
don't break tests unexpectedly.
This commit is contained in:
leafOfTree committed 2026-10-21 12:14:02 +00:00
1 parent ee1a608c40
commit 36bc3f9a87
3 files changed
+44 -12

No files matched your search

+15 -2
View File
@@ -6,10 +6,23 @@ on:
jobs:
test:
name: ${{ matrix.neovim && 'nvim' || 'vim' }} ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { neovim: false, version: v8.2.0000 }
- { neovim: false, version: stable }
- { neovim: true, version: v0.9.5 }
- { neovim: true, version: stable }
steps:
- uses: actions/checkout@v4
- name: Install Vim and Neovim
run: sudo apt-get update && sudo apt-get install -y vim neovim
- uses: rhysd/action-setup-vim@v1
with:
neovim: ${{ matrix.neovim }}
version: ${{ matrix.version }}
- name: Run tests
run: ./test/run.sh
env:
VUE_TEST_EDITORS: ${{ matrix.neovim && 'nvim' || 'vim' }}