File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed
Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 77
88 runs-on : ubuntu-latest
99
10+ strategy :
11+ matrix :
12+ vim : [vim, nvim]
13+
1014 steps :
1115 - uses : actions/checkout@v1
1216 - name : Install Vim
13- run : sudo add-apt-repository -yu ppa:jonathonf/vim && sudo apt-get install -qq vim
17+ run : |
18+ case ${{ matrix.vim }} in
19+ vim)
20+ sudo add-apt-repository -yu ppa:jonathonf/vim && sudo apt-get install -qq vim
21+ ;;
22+ nvim)
23+ curl -L https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz | tar xz && echo "::add-path::$PWD/nvim-linux64/bin"
24+ ;;
25+ esac
1426 - name : Run tests
15- run : make check
27+ run : make check VIM=${{ matrix.vim }}
28+ continue-on-error : ${{ matrix.vim == 'nvim' }}
Original file line number Diff line number Diff line change 1+ VIM = vim
2+
3+ ifeq ($(VIM ) ,vim)
4+ args = --not-a-term
5+ else ifeq ($(VIM),nvim)
6+ args = --headless
7+ endif
8+
19all : check
210
311check :
4- vim --clean --not-a-term -u runtest.vim
12+ $( VIM ) --clean $( args ) -u runtest.vim
513
614.PHONY : all check
You can’t perform that action at this time.
0 commit comments