Skip to content

Add tests setup

Add tests setup #2

Workflow file for this run

name: test
on: [pull_request, workflow_dispatch]
jobs:
lua:
strategy:
matrix:
version: [stable, nightly]
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: neovim setup
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.version }}
- uses: pkgxdev/setup@v1
with:
+: luajit.org luarocks.org
- name: install busted
run: luarocks --lua-dir=$HOME/.pkgx/luajit.org/v2.1.0 --lua-version=5.1 install busted
- name: run tests
run: make unit-test