]> kaliko git repositories - mpd-sima.git/commitdiff
ci: Add vinstall test
authorkaliko <kaliko@azylum.org>
Sun, 24 Mar 2019 13:34:12 +0000 (14:34 +0100)
committerkaliko <kaliko@azylum.org>
Sun, 24 Mar 2019 13:34:12 +0000 (14:34 +0100)
.gitlab-ci.yml

index 2b204856a82e75e18f958ad4a77a79dbf774077a..69715bba937ea7824975a1a545f5002e9a4cd279 100644 (file)
@@ -14,7 +14,7 @@ stages:
   - test
   - build
 
   - test
   - build
 
-test:
+smoketest:
   stage: test
   script:
   - pip install pytest-cov requests
   stage: test
   script:
   - pip install pytest-cov requests
@@ -33,10 +33,20 @@ test:
     - dist/*.tar.gz
     - dist/*.zip
 
     - dist/*.tar.gz
     - dist/*.zip
 
+vinstall:
+  stage: test
+  script:
+  # test virtualenv install
+  - python3 ./vinstall.py
+  # smoke test
+  - ./vmpd-sima --help
+  artifacts:
+    expire_in: 1 hour
+
 tag_release:
   stage: build
   dependencies:
 tag_release:
   stage: build
   dependencies:
-    - test
+    - smoketest
   script:
     - python -V
   artifacts:
   script:
     - python -V
   artifacts: