Issue #3386566 by larowlan, fjgarlin, smustgrave, catch: Add support for 'test only' changes to gitlab CI (cherry picked from commit 3f49e8cd)