7.x-3.x build status: 8.x-1.x build status:
See the aGov readme
See the docs
make test
Ensure you have:
export SIMPLETEST_DB=mysql://root:@localhost/tests
To run:
./vendor/bin/phpunit -c core profiles/agov/tests/src/Kernel/DefaultConfigTest.php
Many contrib modules don't provide an upgrade path for config schema changes. In order to avoid any issues, follow these steps:
- Install from the UI, and do NOT select any of the optional modules.
- Update your module in the drush make file, then run
make make-contrib
. - Run
drush updb
to run any db and schema updates. - Re-export config using
make config-export
.