allow CI jobs to run Apex tests regardless of which metadata changed
When a CI job has Apex unit test behavior configured to run specific test classes or a test suite, these tests will only execute if the deployment contains any Apex changes. I would like to execute certain Apex tests every time my CI job runs so I can be confident that my changes haven't caused any unintended behavior.
I'm building a feature and have maintained an Apex test suite which covers all of the Apex which supports that feature. I would like this suite to execute for every CI job run, regardless of whether any Apex code is changing, to confirm that my feature still performs as expected. Plenty of non-Apex changes could cause those tests to fail, so I want the tests to run every time. I don't mind that this will cause the CI job to take longer for each run as I intentionally specified which tests should execute.