Added woodpecker pipeline for linting and unit testing.
This commit is contained in:
parent
6b65c5085f
commit
da4688e583
2 changed files with 15 additions and 0 deletions
3
.luacheckrc
Normal file
3
.luacheckrc
Normal file
|
@ -0,0 +1,3 @@
|
|||
globals = {
|
||||
"vim",
|
||||
}
|
12
.woodpecker.yml
Normal file
12
.woodpecker.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# branches: main
|
||||
|
||||
pipeline:
|
||||
code_lint:
|
||||
image: pipelinecomponents/luacheck
|
||||
commands:
|
||||
- luacheck lua/zettelkasten
|
||||
|
||||
unit_tests:
|
||||
image: imega/busted
|
||||
commands:
|
||||
- busted test -C lua
|
Loading…
Reference in a new issue