exercism / cpp

Exercism exercises in C++.
https://exercism.org/tracks/cpp
MIT License
257 stars 212 forks source link

CI: Only run tests on exercises, when exercise relevant files are changed #832

Open vaeng opened 7 months ago

vaeng commented 7 months ago

I would like to reduce the friction in PRs that run all the exercise tests, although they do not interact with those files.

The bash track shows one way of doing so:

https://github.com/exercism/bash/blob/main/.github/workflows/pr.yml https://github.com/exercism/bash/blob/main/.github/scripts/pr