diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68fb90fc027f1d706430358822b7aa8d5c4e2959..4d10509fd68a60006fe3a340db9ea7670902bf9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,7 +123,7 @@ linting: - make lint allow_failure: true -unittest: +unittest_py39: tags: [docker] stage: unittest image: $CI_REGISTRY_IMAGE @@ -132,6 +132,16 @@ unittest: - python3 -c "import caosdb; print('CaosDB Version:', caosdb.__version__)" - tox +unittest_py38: + tags: [docker] + stage: unittest_py38 + image: python:3.8 + script: &python_test_script + - pip install nose pandas pytest pytest-cov gitignore-parser openpyxl>=3.0.7 xlrd==1.2 h5py + - pip install git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev + - pip install . + - pytest --cov=caosadvancedtools --vv unittests + # Build the sphinx documentation and make it ready for deployment by Gitlab Pages # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages pages_prepare: &pages_prepare