Closed ka-sarthak closed 4 months ago
Changing this
[tool.setuptools.packages.find] include = ["src"]
to
[tool.setuptools.packages.find] where = ["src"]
allows to run pytests in the workflow without explicitly exporting the src directory to PYTHONPATH. This way the tests run on the installed package rather than the source code.
src
From discussions with @hampusnasstrom
Added some other modifications to the config
Changing this
to
allows to run pytests in the workflow without explicitly exporting the
src
directory to PYTHONPATH. This way the tests run on the installed package rather than the source code.From discussions with @hampusnasstrom