Skip to content

Add tests setup

Add tests setup #25

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 }}
- name: Run tests
run: |
nvim --version
nvim --headless -c ':PlenaryBustedDirectory test {minimal_init = 'test/minimal_init.lua', sequential = true}'