Run all tests from a separate directory
This PR modifies the CI configurations to run pytest from a separate directory, to guarantee that we are testing the installed version of the code.
This PR modifies the CI configurations to run pytest from a separate directory, to guarantee that we are testing the installed version of the code.