diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b92625b12430ca60bb06596e58f16fc0cbd965af..e583440a4ae578fe639e7600efaaad175ab32269 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -110,11 +110,13 @@ deploy staging documentation: only: - develop -# Test is not really working... -.test staging deployment: - image: alpine +test pip deployment: + image: python:3 stage: deploy-test script: - - pip3 install $PIP_EXTRA_FLAGS nqontrol - - python3 -c "from nqontrol import Servo" - - python3 -c "from nqontrol import ServoDevice" + - echo ${CI_COMMIT_TAG:1} + - pip install NQontrol==${CI_COMMIT_TAG:1} + - python3 -c "from NQontrol import Servo" + - python3 -c "from NQontrol import ServoDevice" + only: + -tags