-
Notifications
You must be signed in to change notification settings - Fork 23
37 lines (37 loc) · 1.02 KB
/
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
name: "test status"
on:
- "push"
jobs:
test:
runs-on: "ubuntu-22.04"
strategy:
matrix:
include:
- vim_type: "Vim"
vim_version: "v8.2.4212"
lua_version: "luajit-openresty"
nvim: "false"
- vim_type: "Vim"
vim_version: "v9.0.1205"
lua_version: "luajit-openresty"
nvim: "false"
- vim_type: "Neovim"
vim_version: "head"
nvim: "true"
steps:
- name: "checkout"
uses: "actions/checkout@v2"
with:
fetch-depth: 5
- name: "install lua"
uses: "leafo/gh-actions-lua@v10.0.0"
with:
luaVersion: "${{ matrix.lua_version }}"
if: "${{ matrix.lua_version }}"
- name: "install ${{ matrix.vim_type }}"
uses: "thinca/action-setup-vim@v1"
with:
vim_version: "${{ matrix.vim_version }}"
vim_type: "${{ matrix.vim_type }}"
- name: "run tests"
run: "NVIM=${{ matrix.nvim }} ./t/run.sh"