Should contain code
in headings
#105
Workflow file for this run
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: Vader | |
on: [push, pull_request] | |
jobs: | |
vader: | |
name: vader | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
vimFlavor: ["vim", "nvim"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Enable Universe package repository | |
run: | | |
sudo add-apt-repository universe | |
sudo apt-get update | |
- name: Install ${{ matrix.vimFlavor }} | |
run: | | |
sudo apt-get install ${{ matrix.vimFlavor == 'nvim' && 'neovim' || 'vim' }} | |
- name: Review versions | |
run: | | |
${{ matrix.vimFlavor }} --version | |
- name: Fetch Vader and other dependencies | |
run: | | |
make build/tabular build/vim-toml build/vim-json build/vader.vim | |
- name: Run test suite | |
run: | | |
cd test | |
${{ matrix.vimFlavor == 'nvim' && 'nvim --headless' || 'vim -N' }} \ | |
-u vimrc "+Vader! *" |