Fix buffer#Valid test logic #210
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: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cfg: | |
- { editor: vim, neovim: false, version: nightly } | |
- { editor: vim, neovim: false, version: stable } | |
- { editor: neovim, neovim: true, version: stable } | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@main | |
- name: Setup dotnet 6.0 | |
uses: actions/setup-dotnet@main | |
with: | |
dotnet-version: '6.0' | |
- name: Setup Vim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: ${{ matrix.cfg.neovim }} | |
version: ${{ matrix.cfg.version }} | |
- name: Install Dependencies | |
run: | | |
installer/omnisharp-manager.sh -6 -l $HOME/.omnisharp/omnisharp-roslyn | |
git clone https://github.com/junegunn/vader.vim.git $GITHUB_WORKSPACE/../vader.vim | |
- name: Run Test | |
run: | | |
cd test | |
vim -esNu vimrc -c 'Vader! *' | |
if: matrix.cfg.editor == 'vim' | |
- name: Run Test | |
run: | | |
cd test | |
nvim --headless -Nu vimrc -c 'Vader! *' | |
env: | |
VADER_OUTPUT_FILE: /dev/stderr | |
if: matrix.cfg.editor == 'neovim' |