Skip to content

Update

Update #1

Workflow file for this run

---
name: Vader Integration Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Vim
run: sudo apt-get install vim neovim
- name: Download Dependencies
run: |
git clone https://github.com/junegunn/vader.vim.git
wget https://github.com/rgoulter/c-worksheet-instrumentor/releases/download/v0.2.6/c-worksheet-instrumentor-0.2.6.tar
tar -xf c-worksheet-instrumentor-0.2.6.tar
- name: Test Vim
run: |
export PATH=c-worksheet-instrumentor-0.2.6/bin:$PATH
vim -Nu <(cat << VIMRC
set rtp+=vader.vim
set rtp+=.
filetype plugin indent on
VIMRC) -c 'silent Vader! test/*' > /dev/null
- name: Test NeoVim
run: |
export PATH=c-worksheet-instrumentor-0.2.6/bin:$PATH
nvim -u <(cat << VIMRC
set rtp+=vader.vim
set rtp+=.
filetype plugin indent on
VIMRC) -c 'silent Vader! test/*' > /dev/null