-
-
Notifications
You must be signed in to change notification settings - Fork 26
27 lines (25 loc) · 723 Bytes
/
test.yml
File metadata and controls
27 lines (25 loc) · 723 Bytes
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
name: Run tests
on:
pull_request: ~
push:
branches:
- main
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
neovim_version: ['nightly', 'stable']
steps:
- uses: actions/checkout@v4
- name: Download stylua
shell: bash
run: |
wget "https://github.com/JohnnyMorganz/StyLua/releases/download/v0.18.0/stylua-linux.zip" -P /home/runner/.local/bin
unzip /home/runner/.local/bin/stylua-linux.zip -d /home/runner/.local/bin
chmod +x /home/runner/.local/bin/stylua
- name: Run tests
uses: nvim-neorocks/nvim-busted-action@v1
with:
nvim_version: ${{ matrix.neovim_version }}