Skip to content
Snippets Groups Projects
Commit f9fa6e57 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'f-python-versions-pipeline' into 'dev'

F python versions pipeline

See merge request !60
parents d50d2fdb 5b323f98
No related branches found
No related tags found
2 merge requests!65DOC: Added CITATION.cff to the list of files in the release guide where the...,!60F python versions pipeline
Checking pipeline status
...@@ -123,15 +123,33 @@ linting: ...@@ -123,15 +123,33 @@ linting:
- make lint - make lint
allow_failure: true allow_failure: true
unittest: unittest_py39:
tags: [docker] tags: [docker]
stage: unittest stage: unittest
image: $CI_REGISTRY_IMAGE image: $CI_REGISTRY_IMAGE
needs: [build-testenv] needs: [build-testenv]
script: script:
# First verify that system Python actually is 3.9
- python3 -c "import sys; assert sys.version.startswith('3.9')"
- python3 -c "import caosdb; print('CaosDB Version:', caosdb.__version__)" - python3 -c "import caosdb; print('CaosDB Version:', caosdb.__version__)"
- tox - tox
unittest_py38:
tags: [docker]
stage: unittest
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 unittests
unittest_py310:
tags: [docker]
stage: unittest
image: python:3.10
script: *python_test_script
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages # 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 # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
pages_prepare: &pages_prepare pages_prepare: &pages_prepare
......
[tox] [tox]
envlist=py36, py37, py38, py39, py310 envlist=py38, py39, py310
skip_missing_interpreters = true skip_missing_interpreters = true
[testenv] [testenv]
deps=nose deps=nose
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment