Triggering Nightly Inspections¶
If you would like to trigger a nightly inspection which runs a more extensive test-suite or analysis than your regular inspections, this can be achieved very easily through Scrutinizer's extensive API.
Tweaking your configuration¶
Inspections which are triggered through the API can use a different configuration from your regular inspections. If you do not want to duplicate configurations, but just make a few tweaks for your nightly configuration, this can be achieved very easily:
build: nodes: some-node: tests: # Override all test commands in the "before" section of your regular configuration. before: - vendor/bin/phpunit -c tests/nightly/