diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2cb2e6..2a46530 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,8 @@ jobs: - name: Run Tests run: | 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: runs-on: ubuntu-latest needs: tests