Skip to content

Commit d6fb6d2

Browse files
committed
Test neovim stable and vim stable and nightly
1 parent bb8387e commit d6fb6d2

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/vader.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
vim:
16-
- 'v8.2.0000'
17-
- 'v8.1.0000'
18-
- 'v8.0.0000'
19-
- 'v7.4'
15+
cfg:
16+
- { editor: vim, neovim: false, version: nightly }
17+
- { editor: vim, neovim: false, version: stable }
18+
- { editor: neovim, neovim: true, version: stable }
2019

2120
steps:
2221
- name: Checkout code
@@ -30,7 +29,8 @@ jobs:
3029
- name: Setup Vim
3130
uses: rhysd/action-setup-vim@v1
3231
with:
33-
vim_version: ${{ matrix.vim }}
32+
neovim: ${{ matrix.cfg.neovim }}
33+
version: ${{ matrix.cfg.version }}
3434

3535
- name: Install Dependencies
3636
run: |
@@ -41,4 +41,12 @@ jobs:
4141
run: |
4242
cd test
4343
vim -esNu vimrc -c 'Vader! *'
44-
if: ${{ always() }}
44+
if: matrix.cfg.editor == 'vim'
45+
46+
- name: Run Test
47+
run: |
48+
cd test
49+
nvim --headless -Nu vimrc -c 'Vader! *'
50+
env:
51+
VADER_OUTPUT_FILE: /dev/stderr
52+
if: matrix.cfg.editor == 'neovim'

0 commit comments

Comments
 (0)