-
-
Notifications
You must be signed in to change notification settings - Fork 136
46 lines (44 loc) · 1 KB
/
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
46
name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
strategy:
fail-fast: false
matrix:
version:
- v0.8.3
- v0.9.0
- v0.9.1
- nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
args: --check lua/ tests/
- name: Install Plenary
uses: actions/checkout@v2
with:
repository: nvim-lua/plenary.nvim
path: plenary.nvim
- name: Install Treesitter
uses: actions/checkout@v2
with:
repository: nvim-treesitter/nvim-treesitter
path: nvim-treesitter
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
id: neovim
with:
neovim: true
version: ${{ matrix.version }}
- name: Run tests
run: make test