ci: new templates

This commit is contained in:
Folke Lemaitre 2023-01-04 20:23:36 +01:00
parent dea43afc4a
commit 886a91c688
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 7 additions and 18 deletions

View file

@ -15,17 +15,13 @@ jobs:
- name: Install Neovim
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb -O /tmp/nvim.deb
sudo dpkg -i /tmp/nvim.deb
else
choco install neovim --pre
echo "C:/tools/neovim/nvim-win64/bin" >> $GITHUB_PATH
fi
- name: Run Tests
run: |
nvim --version
nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests// {minimal_init = 'tests//init.lua', sequential = true}"
[ ! -d tests ] && exit 0
nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/init.lua', sequential = true}"
docs:
runs-on: ubuntu-latest
needs: tests