Skip to content

Add tests setup

Add tests setup #30

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: Neovim version
run: nvim --version
- name: Install dependencies
run: ./test/install.sh
- name: Run tests
run: nvim --headless -c "lua PlenaryBustedDirectory test {minimal_init = 'test/minimal_init.lua', sequential = true}" -c "qa!"