- Clone this repo, add upstream
git remote add upstream https://github.com/symfony/demo
- Rebase the default branch
ddev-automated-test
onto the latest tag fromupstream
, resolve conflicts - Use the latest Symfony quickstart for this repo, do not commit
.ddev
ddev exec "rm -rf assets/vendor var/sass vendor" && ddev composer install && git add assets/vendor var/sass vendor -f
- Run
ddev console doctrine:schema:create && ddev console doctrine:fixtures:load --no-interaction
- Export the db
mkdir -p .tarballs && ddev export-db --gzip=false --file=.tarballs/db.sql && tar -czf .tarballs/db.sql.tar.gz -C .tarballs db.sql
- Run
git push
, create a new release adding.tarballs/db.sql.tar.gz
as an asset - Update the URLs in
ddev/ddev
for the new release (e.g. if the old release was2.6.0
and the new release is2.7.0
, then search for this string in theddev/ddev
and replace it with2.7.0
) - Rerun the tests for Laravel
GOTEST_SHORT=20 make testfullsitesetup
forked from symfony/demo
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Automated testing example for Symfony
License
ddev/test-symfony
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Automated testing example for Symfony
Resources
License
Code of conduct
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- CSS 35.7%
- PHP 27.1%
- JavaScript 25.6%
- Twig 8.5%
- SCSS 3.1%