From 0ceae16ad8a66543ef7317a6605a30e36f6bc5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 9 Oct 2019 12:31:47 +0200 Subject: [PATCH] Run tests as part of gitlab CI --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d9a2d6..175bb32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,18 @@ stages: + - test - build - deploy:images - deploy:pypi - deploy:docs +test: + script: + - apk add --no-cache make gcc musl-dev yaml-dev + - python setup.py install + - pip install -r requirements/dev.txt + - pip install twine + - make test + build:images: script: - apk add --no-cache docker make