ci(test): add initial workflow for test
This commit is contained in:
parent
6220faa65f
commit
10200a2582
|
@ -22,3 +22,6 @@ pipeline:
|
|||
# - tree generated
|
||||
|
||||
branches: master
|
||||
|
||||
depends_on:
|
||||
- docker-build
|
||||
|
|
|
@ -7,6 +7,7 @@ matrix:
|
|||
- Dockerfile.cyan
|
||||
- Dockerfile.luacheck_just
|
||||
- Dockerfile.stylua_just
|
||||
- Dockerfile.busted-tl_just
|
||||
|
||||
pipeline:
|
||||
dryrun:
|
||||
|
|
|
@ -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
|
||||
|
|
@ -43,3 +43,6 @@ pipeline:
|
|||
path: *when_path_teal
|
||||
|
||||
branches: master
|
||||
|
||||
depends_on:
|
||||
- docker-build
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue