ci: fixed tests

This commit is contained in:
Folke Lemaitre
2023-01-04 20:16:15 +01:00
parent db57698639
commit 0eebf35e9c

View File

@@ -20,7 +20,8 @@ jobs:
- name: Run Tests - name: Run Tests
run: | run: |
nvim --version nvim --version
[ -d tests ] && 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: docs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: tests needs: tests