Skip to content

Parallel test execution

Description

I was starting to get annoyed at some of the tests taking quite some time while others were much faster, so I looked into parallelizing them.

This MR adds support for parallel test execution:

  • list pytest-xdist as developer dependency
  • marked tests depending on MUSCLE3 with a separate group to prevent database access collisions
  • include parallel execution section in README.dev
  • include parallel execution in CI job and in the local pre-commit script

Related Issues

Issues related to this MR, but not resolved by it:

  • related to #49

Checklist

  • Formatting matches prescribed style
  • Tests pass
  • Code coverage does not decrease
  • [ ] New tests have been added for new code
  • [ ] User-facing changes have been listed in [CHANGELOG.md]

Merge request reports

Loading