refactor(tests): migrate from plenary to busted for tests #433
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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" |