Skip to content

WIP: Test runner

WIP: Test runner #211

Workflow file for this run

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'