Refactor tox.ini to prepare parallelized jobs 59/96559/21
authorGuillaume Lambert <guillaume.lambert@orange.com>
Fri, 18 Jun 2021 12:13:52 +0000 (14:13 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 17 Aug 2021 23:05:44 +0000 (01:05 +0200)
commitcf5cb97c6f4a5bc133824451fca611a154c53661
tree6c5e9ecf00f33c1f4b53160bf2786f7a8920e112
parent3536e353479ac7746c60b468f0a1d98260cdd83b
Refactor tox.ini to prepare parallelized jobs

- split py3 profiles into several profiles
  and regroup tests by OpenROADM devices version
- separate the controller build from tests themselves in a dedicated
  profile
- use "depends" to state profiles dependencies.
  This is necessary so that tox can order tests sequences
  and decides which jobs can be run in parallel.
  This parameter requires tox versions >= 3.7.0

NB: at this stage, tests can no more be run standalone from a dedicated
tox profile.

JIRA: TRNSPRTPCE-482
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I8d583f01003c4d9ee690d866ff602757392c3304
tox.ini