Skip to content
Snippets Groups Projects
Commit 0b58728a authored by Benedikt's avatar Benedikt
Browse files

added testing for older python versions

parent 3f537a83
No related branches found
No related tags found
No related merge requests found
Pipeline #50637 failed
image: python:3.10 # Or python:3.11 if required
stages:
- test
- build
......@@ -24,10 +22,46 @@ before_script:
test_default:
stage: test
image: python:3.8
script:
- source venv/bin/activate # Ensure venv is active
- pytest --junitxml=report.xml --cov=dccXMLJSONConv --ignore=tests/test_RestServer.py # Ignore the web test
test_python_39:
stage: test
image: python:3.9
script:
- source venv/bin/activate # Ensure venv is active
- pytest --junitxml=report_python_39.xml --cov=dccXMLJSONConv --ignore=tests/test_RestServer.py
test_python_310:
stage: test
image: python:3.10
script:
- source venv/bin/activate # Ensure venv is active
- pytest --junitxml=report_python_310.xml --cov=dccXMLJSONConv --ignore=tests/test_RestServer.py
test_python_311:
stage: test
image: python:3.11
script:
- source venv/bin/activate # Ensure venv is active
- pytest --junitxml=report_python_311.xml --cov=dccXMLJSONConv --ignore=tests/test_RestServer.py
test_python_312:
stage: test
image: python:3.12
script:
- source venv/bin/activate # Ensure venv is active
- pytest --junitxml=report_python_312.xml --cov=dccXMLJSONConv --ignore=tests/test_RestServer.py
test_python_313:
stage: test
image: python:3.13
script:
- source venv/bin/activate # Ensure venv is active
- pytest --junitxml=report_python_313.xml --cov=dccXMLJSONConv --ignore=tests/test_RestServer.py
test_web:
stage: test
script:
......@@ -43,4 +77,4 @@ build:
artifacts:
paths:
- dist/
expire_in: 1 week
\ No newline at end of file
expire_in: 1 week
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment