Skip to content

ddev/test-laravel

This branch is 2 commits ahead of, 21 commits behind laravel/laravel:12.x.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ffc6082 · Feb 27, 2025
Jan 8, 2025
Feb 27, 2025
Feb 28, 2024
Feb 12, 2025
Feb 27, 2025
Feb 27, 2025
Feb 27, 2025
Feb 27, 2025
Sep 11, 2024
Jan 3, 2024
Feb 27, 2025
Oct 17, 2022
Feb 27, 2025
Feb 18, 2025
Dec 30, 2022
Jan 6, 2025
Jul 26, 2022
Feb 24, 2025
Feb 27, 2025
Feb 5, 2025
Feb 24, 2025
Feb 27, 2025
Jan 31, 2025
Jan 22, 2024
Jan 31, 2025

Repository files navigation

test-laravel for DDEV testing only:

  • Clone this repo, add upstream git remote add upstream https://github.com/laravel/laravel
  • Rebase the default branch ddev-automated-test onto the latest tag from upstream, resolve conflicts
  • Use the latest Laravel quickstart for this repo, do not commit .ddev:
    ddev config --project-type=laravel --docroot=public
    ddev start
    rm -rf .env composer.lock vendor
    ddev composer install
    ddev composer run-script post-root-package-install
    ddev composer run-script post-create-project-cmd
    git add .env composer.lock vendor -f
  • Download db.sql.tar.gz from the latest release and run ddev import-db --file=db.sql.tar.gz
  • Run Laravel migrations ddev php artisan migrate
  • 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 was 10.0.5.2 and the new release is 11.0.1.1, then search for this string in the ddev/ddev and replace it with 11.0.1.1)
  • Rerun the tests for Laravel GOTEST_SHORT=9 make testfullsitesetup