Copy less files around in ComponentsIsolatedBuildTest

Created on 11 September 2023, 9 months ago
Updated 18 September 2023, 9 months ago

Problem/Motivation

Run locally, ComponentsIsolatedBuildTest takes 7 minutes. I can't see any other build test that takes this long. This may be resulting in 10 minutes for build tests overall on gitlab CI.

 time ../vendor/bin/phpunit tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php 
PHPUnit 9.6.8 by Sebastian Bergmann and contributors.

Testing Drupal\BuildTests\Composer\Component\ComponentsIsolatedBuildTest
........................                                          24 / 24 (100%)

Time: 07:50.703, Memory: 20.50 MB

OK (24 tests, 24 assertions)

real	7m50.886s
user	10m3.098s
sys	11m29.113s

Steps to reproduce

Proposed resolution

Don't copy the entire core code every time. See #8 for new timings.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
ComposerΒ  β†’

Last updated about 19 hours ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024