Skip to content

parallelism of pytest tests #1702

@themr0c

Description

@themr0c

Issue Type

  • Bug report

To execute the tests, pytest-xdist is installed as a requirement, but pytest is invoked without the -n option which would permit to have some parallelism during tests.

See: https://pypi.org/project/pytest-xdist/

In pytest.ini, we could complete the addopts line with some option relevant to travis runner (to be determined).

[pytest]
addopts = -n3

This option has to be tested: maybe it could influence positively the duration of travis builds.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions