-
-
Notifications
You must be signed in to change notification settings - Fork 104
43 lines (39 loc) · 1020 Bytes
/
test.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
name: Tests
on:
pull_request: ~
push:
paths-ignore:
- "*.md"
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
neovim_tag:
[
"v0.8.0",
"v0.8.1",
"v0.8.2",
"v0.8.3",
"v0.9.0",
"stable",
"nightly",
]
name: Tests nvim-${{ matrix.neovim_tag }}
steps:
- uses: actions/checkout@v3
- name: Install Neovim
uses: MunifTanjim/setup-neovim-action@v1
with:
tag: ${{ matrix.neovim_tag }}
- name: Install plenary
run: |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim test/plenary
- name: Run tests
run: |
nvim --version
[ ! -d test ] && exit 0
nvim --headless --noplugin -u test/minimal_init.vim -c "PlenaryBustedDirectory ./test/github-theme { minimal_init = './test/minimal_init.vim', sequential = true}"