With a simple Makefile commands like make test could be used to trigger all the tests with the correct specifiction of arguments instead of a very long command like pytest --cov=chemotools .\tests -n=auto --cov-report html -x.
Another example would be make install-dev for python -m install --upgrade pip setuptools wheel -r .\requirements-dev.txt ..
As an added bonus, that would enable the setup of simple test CI pipeline that runs tests whenever a pull request on main is opened and changed. Ideally, the CI pipeline would test multiple Python versions at the same time.
With a simple
Makefile
commands likemake test
could be used to trigger all the tests with the correct specifiction of arguments instead of a very long command likepytest --cov=chemotools .\tests -n=auto --cov-report html -x
. Another example would bemake install-dev
forpython -m install --upgrade pip setuptools wheel -r .\requirements-dev.txt .
.As an added bonus, that would enable the setup of simple test CI pipeline that runs tests whenever a pull request on
main
is opened and changed. Ideally, the CI pipeline would test multiple Python versions at the same time.