Core should have a drupalci.yml to drive the build. Lets add one here that doesnt change the current testing behavior, and debate the merits of new build control features on the parent issue.

#2951843: Use drupalci.yml to fail test runs early

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Mixologic created an issue. See original summary.

Mixologic’s picture

Status: Active » Needs review
FileSize
2.29 KB
dawehner’s picture

Category: Feature request » Task

Thank you @Mixologic to open up a quick win issue :)

+++ b/core/drupalci.yml
@@ -0,0 +1,57 @@
+      # run_tests task is executed several times in order of performance speeds.
+      # halt-on-fail is 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.

I guess this comment is now out of date

Mixologic’s picture

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Good idea. Works for me :)

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 4: 2969363_add-drupalci-yml_4.patch, failed testing. View results

dawehner’s picture

Status: Needs work » Reviewed & tested by the community

back to RTBC

alexpott’s picture

Crediting @dawehner.

alexpott credited Mile23.

alexpott’s picture

Crediting @Mile23 because I'm pretty sure they have been involved in implementing the drupalci.yml

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed c44d82d and pushed to 8.6.x. Thanks!

Only adding to 8.6.x just in case there are issues we don't know about.

  • alexpott committed c44d82d on 8.6.x
    Issue #2969363 by Mixologic, dawehner, Mile23: Add a drupalci.yml to...
Mixologic’s picture

Great!

Mile23’s picture

Thanks for the credit, @alexpott.

And just as we got this in, we also have this change to the testbot: #2971239: Invert build to create environment first

So here's a follow-up about it: #2974033: drupalci.yml no longer needs to re-run composer install

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.