|
|
@@ -10,12 +10,7 @@ envlist = py3.13-{aws,azure,gcp,openstack,mock},lint
|
|
|
|
|
|
[testenv]
|
|
|
commands = # see pyproject.toml for coverage options; setup.cfg for flake8
|
|
|
- # Azure integration tests race on the shared default vnet/subnet
|
|
|
- # under xdist (get_or_create_default has no locking, so two workers
|
|
|
- # creating the same named resource conflict on Azure ARM). Run the
|
|
|
- # azure factor serially; other providers stay parallel.
|
|
|
- !azure: coverage run --source=cloudbridge -m pytest -v {posargs:-n 5 tests/}
|
|
|
- azure: coverage run --source=cloudbridge -m pytest -v {posargs:tests/}
|
|
|
+ coverage run --source=cloudbridge -m pytest -v {posargs:-n 5 tests/}
|
|
|
# Combine parallel-mode data files and emit Cobertura XML for upload
|
|
|
# by coverallsapp/github-action in CI. Locally this produces
|
|
|
# coverage.xml in the project root, which IDEs can also consume.
|