chore: update tasks, run tests on all recent versions
This commit is contained in:
parent
09696900a5
commit
53ab4274c2
2 changed files with 15 additions and 14 deletions
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
21
Taskfile.yml
21
Taskfile.yml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue