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 inpyproject.toml
are respected - don't attempt to automatically configure
pytest_cov
if it looks like--cov
is set inpyproject.toml
- if nothing is configured use
--cov .
as the default, rather than--cov