paucablop / chemotools

Integrate your chemometric tools with the scikit-learn API 🧪 🤖
https://paucablop.github.io/chemotools/
MIT License
45 stars 6 forks source link

🧰 Add initial `Makefile` version and tiny test CI pipeline #130

Open MothNik opened 1 month ago

MothNik commented 1 month ago

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.