-
Notifications
You must be signed in to change notification settings - Fork 81
78 lines (76 loc) · 2.2 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: CI
on: [push]
jobs:
vader-tests:
name: Vader tests
strategy:
matrix:
os: [ubuntu-latest]
neovim: [true, false]
version: [nightly, stable]
exclude:
- neovim: false
version: stable
runs-on: ${{ matrix.os }}
steps:
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
id: vim
with:
neovim: ${{ matrix.neovim }}
version: ${{ matrix.version }}
- name: Install python
uses: actions/setup-python@v1
- name: Config git
run: |
git config --global user.email "dyzplus@gmail.com"
git config --global user.name "voldikss"
- name: Checkout vim-floaterm
uses: actions/checkout@v2
- name: Checkout clap-floaterm
uses: actions/checkout@v2
with:
repository: voldikss/clap-floaterm
path: clap-floaterm
- name: Checkout fzf-floaterm
uses: actions/checkout@v2
with:
repository: voldikss/fzf-floaterm
path: fzf-floaterm
- name: Checkout LeaderF-floaterm
uses: actions/checkout@v2
with:
repository: voldikss/LeaderF-floaterm
path: LeaderF-floaterm
- name: Checkout asyncrun.vim
uses: actions/checkout@v2
with:
repository: skywind3000/asyncrun.vim
path: asyncrun.vim
- name: Checkout asyncrun.extra
uses: actions/checkout@v2
with:
repository: skywind3000/asyncrun.extra
path: asyncrun.extra
- name: Checkout vader.vim
uses: actions/checkout@v2
with:
repository: junegunn/vader.vim
path: vader.vim
- name: Run vader tests
env:
VIM_EXEC: ${{ steps.vim.outputs.executable }}
run: |
$VIM_EXEC --version
for f in `find test/*/*.vader`
do
$VIM_EXEC -u test/vimrc -c "Vader! $f"
done
vint:
name: Run vint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- run: pip install vim-vint
- run: vint --error --verbose --enable-neovim --color --style ./autoload ./plugin