chore: update tasks, run tests on all recent versions

This commit is contained in:
Olexandr Smirnov 2025-08-27 21:12:06 +03:00
parent 09696900a5
commit 53ab4274c2
No known key found for this signature in database
2 changed files with 15 additions and 14 deletions

View file

@ -15,6 +15,12 @@ jobs:
version:
- stable
- nightly
- v0.10.0
- v0.10.4
- v0.11.0
- v0.11.1
- v0.11.2
- v0.11.3
runs-on: ${{ matrix.os }}
steps:
- name: Install Task
@ -57,4 +63,4 @@ jobs:
- name: Run Tests
run: |
nvim --version
task tests
task test

View file

@ -1,28 +1,23 @@
version: "3"
tasks:
lint:
desc: runs all linters
cmds:
- task: selene
- stylua --check .
selene:
desc: runs lua linter(selene)
desc: run all linters
cmds:
- selene .
- stylua --check .
stylua:
desc: runs lua formatter
cmds:
- stylua .
format:
desc: run formatter
cmd: stylua .
tests:
test:
desc: run all tests
cmds:
- |
nvim --clean --headless \
-u ./scripts/minimal_init.lua \
-c "lua MiniTest.run()"
-c "lua MiniTest.run()" \
-c ":qa!"
docgen:
desc: generate vimhelp