Last active
October 1, 2019 11:19
-
-
Save josephdpurcell/1c78367cedc15a075e4231a5a685ced9 to your computer and use it in GitHub Desktop.
Drupal 9 compatibility drupalci-.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file customizes the steps that DrupalCI will use when testing this project. | |
# | |
# The primary customization provided here is to check for deprecation errors. It is recommended | |
# to do this only when you've used https://github.com/mglaman/drupal-check/ to verify any | |
# existing deprecation errors are addressed. | |
# | |
# Learn to make one for your own drupal.org project: | |
# https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing | |
build: | |
assessment: | |
validate_codebase: | |
phplint: | |
container_composer: | |
phpcs: | |
# phpcs will use core's specified version of Coder. | |
sniff-all-files: true | |
halt-on-fail: false | |
testing: | |
# run_tests task is executed several times in order of performance speeds. | |
# halt-on-fail can be set on the run_tests tasks in order to fail fast. | |
# suppress-deprecations is false in order to be alerted to usages of | |
# deprecated code. | |
run_tests.standard: | |
types: 'Simpletest,PHPUnit-Unit,PHPUnit-Kernel,PHPUnit-Functional' | |
testgroups: '--all' | |
suppress-deprecations: false | |
run_tests.js: | |
types: 'PHPUnit-FunctionalJavascript' | |
testgroups: '--all' | |
suppress-deprecations: false | |
nightwatchjs: { } |
@heddn I don't think suppress-deprecations: false
is expensive. It's if you turn on the drupal-check implementation - i.e. you enable phpstan code checking.
I think the point made (by @goba) was that suddenly turning DrupalCI on for thousands of new projects (if we ask sprinters to add patches for the "known good" modules) would be the resource hog.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, based on conversation in Slack, adding
suppress-deprecations: false
to drupalci.yml files right is not encouraged. It takes a lot of system resources and would run on every patch. So adding it to every contrib project would drastically increase the budget for testbots.