Closed (fixed)
Project:
Config Profile
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2020 at 20:13 UTC
Updated:
20 Feb 2021 at 13:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mparker17Here's a patch. Reviews welcome.
Comment #3
mparker17I should probably mark this as "Needs Review" so someone reviews it 🙃
Comment #4
mparker17Here's a patch that adds a test to see if the module correctly installs... if it does, then (among other things) there are no config schema issues.
Note to the module maintainer: testbot will only run if you enable automated testing. To do this, go to this module's Automated Testing page, click
Add test / retestunder the branch you want to enable testing on (probably8.x-1.x-dev), and follow the instructions (the default environment and core are probably fine, but for Schedule you probably want to setRun on commit and for issues)Comment #5
mparker17Added a
$defaultThemeto the test.Comment #6
mparker17Added links to the documentation I was reading when I was trying to write the patch.
Comment #7
mparker17Comment #9
akalam commentedLooks good! thank you @mparker17, specially for the test!
Comment #10
mparker17Awesome, thank you @akalam!
Could I trouble you to enable automated tests to run on commit and for issues on the
8.x-1.x-devbranch, i.e.: to (hopefully) catch future patches before they cause config schema regressions? (I included instructions at the bottom of #4)Comment #11
mparker17@akalam, I see automated tests are enabled, but are throwing a composer error... I've confirmed
config_profile'scomposer.jsonis valid... I think the PHP/MySQL versions in the test environment are too low for Drupal 9... the test is8.x-1.x-dev test with PHP 5.3 & MySQL 5.5, Drupal 9.1.xbut Drupal 9 requires at least PHP 7.3, and at least MySQL 5.7. This is my fault, I said "the default environment and core are probably fine" but that's not true! Sorry for that!I believe if you go back to the automated testing page, click the "edit" link, you can set the environment to "PHP 7.3 & MySQL 5.7"... and when you click "Save & queue" the composer errors will go away.