mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-01 18:12:19 +08:00
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:
3 files changed
+44
-12
No files matched your search
@@ -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' }}
|
||||
Reference in new issue
Block a user