From 737547d0db4eb05a7636f7dbbd0d09798058591f Mon Sep 17 00:00:00 2001 From: Michael Krause Date: Thu, 8 Aug 2019 22:46:23 +0200 Subject: [PATCH] add test stage to CI --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d78c66a..404481e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,15 @@ services: variables: CONTAINER_RELEASE_IMAGE: registry.git.mpib-berlin.mpg.de/krause/burnpy:latest +stages: + - test + - build + +test: + image: python:latest + script: + - python test.py + build: script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.git.mpib-berlin.mpg.de -- GitLab