mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
[add] github actions
This commit is contained in:
37
.github/workflows/neovim.yml
vendored
Normal file
37
.github/workflows/neovim.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Neovim
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
vim_type: ['Neovim']
|
||||
neovim_version:
|
||||
- 'head'
|
||||
- 'stable'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: 'actions/checkout@v2'
|
||||
|
||||
- name: Install vader.vim
|
||||
run: git clone --depth=1 https://github.com/junegunn/vader.vim.git test/vader/vader.vim
|
||||
|
||||
- name: 'setup Neovim'
|
||||
uses: 'thinca/action-setup-vim@v1'
|
||||
with:
|
||||
vim_version: '${{ matrix.neovim_version }}'
|
||||
vim_type: '${{ matrix.vim_type }}'
|
||||
|
||||
- name: 'Show version'
|
||||
run: nvim --version
|
||||
|
||||
- name: 'Run test'
|
||||
run: |
|
||||
bash -c 'VIMCMD=nvim test/vader/run'
|
||||
38
.github/workflows/vim.yml
vendored
Normal file
38
.github/workflows/vim.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Vim
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
vim_type: ['Vim']
|
||||
vim_version:
|
||||
- 'head'
|
||||
- 'v8.0.1575'
|
||||
- 'v7.4.2273'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: 'actions/checkout@v2'
|
||||
|
||||
- name: Install vader.vim
|
||||
run: git clone --depth=1 https://github.com/junegunn/vader.vim.git test/vader/vader.vim
|
||||
|
||||
- name: 'setup Vim'
|
||||
uses: 'thinca/action-setup-vim@v1'
|
||||
with:
|
||||
vim_version: '${{ matrix.vim_version }}'
|
||||
vim_type: '${{ matrix.vim_type }}'
|
||||
|
||||
- name: 'Show version'
|
||||
run: vim --version
|
||||
|
||||
- name: 'Run test'
|
||||
run: |
|
||||
bash ./test/vader/run
|
||||
Reference in New Issue
Block a user