Skip to content

Commit 7c153c4

Browse files
committed
Use github actions to run Vader tests
1 parent 9e630ec commit 7c153c4

File tree

3 files changed

+45
-22
lines changed

3 files changed

+45
-22
lines changed

.github/workflows/vader.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Vader
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
name: Test
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
cfg:
16+
- { editor: vim, neovim: false }
17+
- { editor: neovim, neovim: true }
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@main
22+
23+
- name: Setup Vim
24+
uses: rhysd/action-setup-vim@v1
25+
with:
26+
neovim: ${{ matrix.cfg.neovim }}
27+
version: stable
28+
29+
- name: Install Dependencies
30+
run: |
31+
git clone https://github.com/junegunn/vader.vim.git $GITHUB_WORKSPACE/../vader.vim
32+
33+
- name: Run Test
34+
run: |
35+
cd test
36+
vim -esNu vimrc -c 'Vader! *'
37+
if: matrix.cfg.editor == 'vim'
38+
39+
- name: Run Test
40+
run: |
41+
cd test
42+
nvim --headless -Nu vimrc -c 'Vader! *'
43+
env:
44+
VADER_OUTPUT_FILE: /dev/stderr
45+
if: matrix.cfg.editor == 'neovim'

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
![Travis status](https://api.travis-ci.org/nickspoons/vim-cs.svg?branch=master)
2-
31
# vim-cs
42
This is the home of the official Vim runtime files for C#.
53

0 commit comments

Comments
 (0)