Skip to content

ci: Replace plenary.nvim with busted #11

ci: Replace plenary.nvim with busted

ci: Replace plenary.nvim with busted #11

Workflow file for this run

---
name: Run tests
on:
pull_request: ~
push:
branches:
- main
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
neovim_version: ['nightly']
steps:
- uses: actions/checkout@v3
- run: date +%F > todays-date
- name: Restore cache for today's nightly.
uses: actions/cache@v2
with:
path: _neovim
key: ${{ runner.os }}-x64-${{ hashFiles('todays-date') }}
- name: Setup neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim_version }}
- name: Setup Lua
uses: leso-kn/gh-actions-lua@master
with:
luaVersion: "5.1"
- name: Setup Luarocks
uses: hishamhm/gh-actions-luarocks@master
with:
luarocksVersion: "3.11.0"
- name: Run tests
run: |
luarocks test --local