ci(test): add initial workflow for test
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details

This commit is contained in:
Aire-One 2023-04-24 01:05:01 +02:00
parent 6220faa65f
commit 10200a2582
5 changed files with 33 additions and 0 deletions

View File

@ -22,3 +22,6 @@ pipeline:
# - tree generated
branches: master
depends_on:
- docker-build

View File

@ -7,6 +7,7 @@ matrix:
- Dockerfile.cyan
- Dockerfile.luacheck_just
- Dockerfile.stylua_just
- Dockerfile.busted-tl_just
pipeline:
dryrun:

View File

@ -0,0 +1,9 @@
FROM akorn/luarocks:lua5.4-alpine
ARG CYAN_VERSION=0.3.0
RUN \
apk add \
git \
gcc libc-dev \
just \
&& luarocks install --server=https://luarocks.org/dev busted-tl

View File

@ -43,3 +43,6 @@ pipeline:
path: *when_path_teal
branches: master
depends_on:
- docker-build

17
.woodpecker/test.yml Normal file
View File

@ -0,0 +1,17 @@
variables:
- &busted gitea.aireone.xyz/aire-one/awesomewm.d.tl/busted-tl_just:latest
pipeline:
prepare:
image: *busted
commands:
- just install
test:
image: *busted
commands:
- just test
branches: master
depends_on:
- docker-build