Skip to content

Add GHA test workflow, update setup section in docs #2

Add GHA test workflow, update setup section in docs

Add GHA test workflow, update setup section in docs #2

Workflow file for this run

---
name: luarocks test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Install neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly
- 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: Install nlua using luarocks make
run: luarocks make --local
- name: Run tests
run: |
luarocks test --local