Merge pull request #50 from a-m-s/master #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fugitive GitLab | |
on: [push, pull_request] | |
jobs: | |
Vader: | |
strategy: | |
matrix: | |
vim: | |
- package: vim | |
bin: vim | |
- package: neovim | |
bin: nvim | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git clone Vader | |
uses: actions/checkout@v2 | |
with: | |
repository: junegunn/vader.vim | |
path: vader.vim | |
- name: Git clone Fugitive | |
uses: actions/checkout@v2 | |
with: | |
repository: tpope/vim-fugitive | |
path: vim-fugitive | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
with: | |
path: fugitive-gitlab.vim | |
- name: Install packages | |
run: sudo apt-get install -y ${{ matrix.vim.package }} curl | |
- name: Run vader against ${{ matrix.vim.package }} | |
run: ${{ matrix.vim.bin }} -Es -Nu fugitive-gitlab.vim/test/vimrc -c "Vader! fugitive-gitlab.vim/test/*" 2>&1 |