-
-
Notifications
You must be signed in to change notification settings - Fork 53
45 lines (38 loc) · 901 Bytes
/
tests.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
---
name: Run tests
on:
pull_request: ~
push:
branches:
- master
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
neovim_version: ['nightly', 'v0.10.0']
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Install neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim_version }}
- name: Install treesitter
uses: tree-sitter/setup-action@v1
with:
install-lib: false
- name: Install Lua
uses: leso-kn/gh-actions-lua@master
with:
luaVersion: "5.1"
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
with:
luarocksVersion: "3.11.0"
- name: Run tests
run: |
luarocks test --local