fix(tests): add gitlab CI test snippet, move test snippets into test dir
This commit is contained in:
parent
0c30036c98
commit
247e1ab03d
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
EXAMPLES="$(find ./examples -name '*.yml')"
|
||||
EXAMPLES="$(find ./test/examples -name '*.yml')"
|
||||
|
||||
for example in ${EXAMPLES};
|
||||
do
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
# test rules gitlab-ci
|
||||
# test tags gitlab
|
||||
# test exit-status 2
|
||||
|
||||
stages:
|
||||
- build
|
||||
- package
|
||||
|
||||
before_script:
|
||||
- echo "this is a terrible idea!"
|
||||
|
||||
---
|
||||
|
||||
stages:
|
||||
- build
|
||||
- package
|
||||
|
||||
build-node:
|
||||
stage: build
|
||||
script: []
|
||||
|
||||
image-alpine:
|
||||
stage: package
|
||||
# missing script
|
||||
|
||||
image-stretch:
|
||||
stage: package
|
||||
script: []
|
Loading…
Reference in New Issue