Skip to content

Parallelize Test Workflows #131

@LarsKue

Description

@LarsKue

We can parallelize the test workflow in 2 ways:

  1. Over multiple environments (i.e., python versions). This can be done either via parallelization directly in the github workflow, or we can tell tox to parallelize environments.
  2. Over multiple tests with pytest-xdist using the flag -n auto.

Drawbacks:

  • Parallelizing the tests changes the console output for the test workflow, since intermediate results cannot be shown until all tests have completed.

Metadata

Metadata

Assignees

Labels

refactoringSome code shall be redesignedunit testsA new set of tests needs to be added.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions