openedx-unsupported / devstack

Get up and running quickly to develop or extend Open edX services
GNU Affero General Public License v3.0
405 stars 424 forks source link

Skip tests for doc-only changes #1093

Open robrap opened 1 year ago

robrap commented 1 year ago

Devstack provisioning tests require lots of time and energy. Our developers and the earth would be happier if this were skipped on simple doc updates.

Not sure if this helps? https://github.com/microsoft/ebpf-for-windows/pull/1950/files

nedbat commented 1 year ago

A low-tech way to do this is to skip GitHub Action steps based on branch name patterns. The PR author can name the branch to skip the tests when they know it will be ok. I did this in the coverage.py repo here: https://github.com/nedbat/coveragepy/commit/f5977440a44f3209095de5056d90cb59360cf4d5