-
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (45 loc) · 1.22 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
name: ci
on:
push:
branches: [main]
pull_request:
paths-ignore:
- "**.md"
- LICENSE
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
neovim_tag:
[
"v0.7.0",
"v0.7.2",
"v0.8.0",
"v0.8.1",
"v0.8.2",
"v0.8.3",
"v0.9.0",
"stable",
"nightly",
]
name: test - nvim ${{ matrix.neovim_tag }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Neovim
uses: MunifTanjim/setup-neovim-action@v1
with:
tag: ${{ matrix.neovim_tag }}
- name: Neovim Version
run: nvim --version
# Installing plugin's dependencies and plenary.nvim
- name: Prepare Neovim
run: |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
git clone --depth 1 https://github.com/nvim-tree/nvim-web-devicons ~/.local/share/nvim/site/pack/vendor/start/nvim-web-devicons
ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start
- name: Run Tests
run: make test