Skip to content
Snippets Groups Projects
Commit ffd21c19 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

[CI] Switch official version to Python 3.11 (Deb 12) + cleanup other jobs

- Remove Python 3.7 test
- Add Python 3.11 test and move coverage to it
- Change dedicated Debian 10 runner to dedicated Debian 12 one
parent 4541ba9c
No related branches found
No related tags found
1 merge request!21v0.3.0: Compatibility with debian 12/python 11
......@@ -76,11 +76,11 @@ qa-mypy:
#- poetry run pytest --junitxml=tests_report.xml --cov ecs_core tests/test_*
- poetry run pytest tests/test_Messages.py tests/test_States.py tests/test_EcsLogger.py tests/test_StateCoreAgent.py tests/test_StateCoreTester.py tests/test_CmdCoreAgent.py tests/test_BaseCmdTester.py tests/test_StateCmdAgent.py tests/test_EcsConfServ.py tests/test_EcsCoreAgent.py
# Test and coverage Jobs
# => Official version = the one used by main dev (PAL), official python package under Ubuntu 20.04
test-python3.8:
# Test and coverage Job
# => Official version = the one matching PCs in mCBM control room, official python package under Debian 12
test-python3.11:
<<: *test-tmpl
image: python:3.8
image: python:3.11
tags:
- docker-ecs
coverage: '/TOTAL.*\s+(\d+%)$/'
......@@ -99,12 +99,22 @@ test-python3.8:
paths:
- public
test-python3.7:
# Test job same OS as control room
test-debian12:
<<: *test-tmpl
image: python:3.7
needs: ["test-python3.10"] # try to avoid these tests running in //, just in case proba of having ZMQ name conflicts
allow_failure: true
tags:
- ecs-proto
# Test jobs old version of Python
# => version used originally by main dev (PAL), official python package under Ubuntu 20.04
test-python3.8:
<<: *test-tmpl
image: python:3.8
tags:
- docker-ecs
needs: ["test-python3.11"] # try to avoid these tests running in //, just in case proba of having ZMQ name conflicts
# => Version available in mFLES under Ubuntu 22.04
test-python3.10:
<<: *test-tmpl
image: python:3.10
......@@ -113,11 +123,6 @@ test-python3.10:
needs: ["test-python3.8"] # try to avoid these tests running in //, just in case proba of having ZMQ name conflicts
allow_failure: true
test-debian10:
<<: *test-tmpl
tags:
- ecs-proto
allow_failure: true
# Package and deploy: install only non-dev packages in poetry
build-publish:
......
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