feat: needs test to success

This commit is contained in:
Swann Martinez 2021-03-02 09:05:21 +00:00
parent 55ca8a7b84
commit 238a34d023
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
build: build:
stage: build stage: build
needs: ["test"]
image: debian:stable-slim image: debian:stable-slim
script: script:
- rm -rf tests .git .gitignore script - rm -rf tests .git .gitignore script

View File

@ -1,5 +1,6 @@
deploy: deploy:
stage: deploy stage: deploy
needs: ["test"]
image: slumber/docker-python image: slumber/docker-python
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2

View File

@ -1,5 +1,5 @@
pages: pages:
needs: ["build"] needs: ["test"]
stage: doc stage: doc
image: python:3.7-alpine image: python:3.7-alpine
script: script: