Features
Test selection
What you do
Turn it on in the Action step.
with: select-tests: truePass the selection to
xcodebuild test; empty means run everything.xcodebuild test -scheme App $WARMBUILD_ONLY_TESTING
What you get
Pull requests run only the tests their change can reach. Pushes to the default branch still run everything, so a skipped failure shows up one push later.
- Turn it on:
select-tests: trueon the Action. Pull requests then run only the tests their change can reach. - Run them: the Action exports the arguments in
$WARMBUILD_ONLY_TESTING; pass them toxcodebuild test. Empty means run everything. - Pushes run everything: pushes to the default branch run every test, so a test that selection skipped and that would have failed is found one push later. The dashboard counts those misses and names the pull request.
- When it runs everything: changes to the project, a package manifest, resources or many files at once.
- Tuning:
select-tests-alwayslists tests to run on every pull request;select-tests-ignorelists paths that never affect tests. - On a Mac:
xcodebuild test … $(warmbuild tests --changed)does the same for your local diff.