From da4688e583dc53cd6ba017fc7a9d37ead57a9697 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 21 Jan 2022 17:55:42 +0100 Subject: [PATCH] Add integration pipeline Added woodpecker pipeline for linting and unit testing. --- .luacheckrc | 3 +++ .woodpecker.yml | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .luacheckrc create mode 100644 .woodpecker.yml diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..c8a3f4e --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,3 @@ +globals = { + "vim", +} diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..2f9a185 --- /dev/null +++ b/.woodpecker.yml @@ -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