Skip to content

refactor(tests): migrate from plenary to busted for tests #433

refactor(tests): migrate from plenary to busted for tests

refactor(tests): migrate from plenary to busted for tests #433

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", "stable"]
steps:
- uses: actions/checkout@v4
- name: Set up yazi
run: |
Please install yazi. Check documentation for more information
# Install yazi
test -d _yazi || {
mkdir -p _yazi
wget "https://github.com/sxyazi/yazi/releases/download/v0.2.5/yazi-x86_64-unknown-linux-gnu.zip" --output-document yazi.zip
unzip yazi.zip -d _yazi
}
echo "Current _yazi/ contents"
ls -R _yazi
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
echo "${PWD}/_yazi/yazi-x86_64-unknown-linux-gnu/" >> $GITHUB_PATH
- name: Run tests
uses: nvim-neorocks/nvim-busted-action@v1
with:
nvim_version: ${{ matrix.neovim_version }}
luarocks_version: "3.11.1"