Skip to content

Improve default pytest behaviour

This MR modifies the default options for pytest in the python/test component to try and improve the default behaviour. The changes are

  • default $[[ inputs.pytest_options ]] to "" (empty) - this should mean that any options configured in pyproject.toml are respected
  • don't attempt to automatically configure pytest_cov if it looks like --cov is set in pyproject.toml
  • if nothing is configured use --cov . as the default, rather than --cov

Merge request reports