cookiecutter-hypermodern-python icon indicating copy to clipboard operation
cookiecutter-hypermodern-python copied to clipboard

only run tests workflow when needed

Open dbatten5 opened this issue 2 years ago • 2 comments
trafficstars

  • ignore files that don't need tests, e.g. files in docs/ and .md files

closes #1328

dbatten5 avatar Apr 22 '23 08:04 dbatten5

@cjolowicz Can you please have a look at this? and merge 🙏

bosd avatar Feb 27 '24 21:02 bosd

This will cause problems with branch projection rules since the expected checks will stop showing up for docs-only changes. This can be solved by having a job that determines what other jobs should run. It's done in python/cpython, pypa/pip, ansible/pylibssh to give a few examples of reference implementations.

webknjaz avatar Feb 28 '24 01:02 webknjaz