DAI-Lab / cookiecutter-pypackage

DAI Lab's adaptation of cookiecutter-pypackage
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

add `-r` flag to `tox` in `make test-all` #32

Closed csala closed 4 years ago

csala commented 5 years ago

Current make test-all target calls tox, which might not recreate the testing environment if it already exists. If dependencies have been changed since the last time tox was ran and a make clean has not been used since, this might imply that the new version of the core runs on the old environment without reinstalling it.

To fix this, we can consider adding the -r flat to the tox command, which will force tox to re-create the environment every time it is run.