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

FIX: gitlab yml

parent 0cae261e
No related branches found
No related tags found
1 merge request!4F unittest pipe
Pipeline #59966 failed
......@@ -62,47 +62,50 @@ info:
script:
- *env
unittest_py3.11:
tags: [cached-dind]
stage: test
image: $CI_REGISTRY_IMAGE
script:
- python3 -c "import sys; assert sys.version.startswith('3.11')"
- tox
unittest_py3.8:
unittest_py3.9:
tags: [cached-dind]
stage: test
image: python:3.8
variables:
PYVER: "3.9"
image: python:3.9
script: &python_test_script
# install dependencies
- *env
- pip install pytest pytest-cov
- python3 -c "import sys; assert sys.version.startswith('$PYVER')"
# actual test
- cd laonpy && pytest --cov=linkahead_python_package_template -vv ./unittests
- cd loanpy && pytest --cov=loanpy -vv ./unittests
unittest_py3.9:
tags: [cached-dind]
unittest_py3.10:
variables:
PYVER: "3.10"
stage: test
image: python:3.11
tags: [cached-dind]
image: python:3.10
script: *python_test_script
unittest_py3.10:
unittest_py3.11:
variables:
PYVER: "3.11"
tags: [cached-dind]
stage: test
image: python:3.10
image: python:3.11
script: *python_test_script
unittest_py3.12:
tags: [cached-dind]
variables:
PYVER: "3.12"
stage: test
tags: [cached-dind]
image: python:3.12
script: *python_test_script
unittest_py3.13:
allow_failure: true
variables:
PYVER: "3.13"
tags: [cached-dind]
stage: test
image: python:3.13-rc
image: python:3.13
script: *python_test_script
build-testenv:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment