Closed safetypins closed 2 years ago
# prepare the database
- run: touch storage/testing.sqlite
- run: php artisan migrate --env=testing --database=sqlite_testing --force
This is common in Laravel projects. Are you running a Laravel project alongside a Drupal one? Otherwise you may not need these two lines.
The error in particular, touch: cannot touch 'storage/testing.sqlite': No such file or directory
states that the system can't create testing.sqlite because storage does not exist. However, you may not need these two lines anyway.
I ran the install script, and have made a few changes. This is what I got from the install:
And this is what I'm currently running:
I had to add the install command to get php's gd library installed. I also changed the image to 7.4-node-browsers, because I needed a newer php version, and the yarn install command was failing without node.
This is the error message related to sqlite:
I'm not actually sure I need sqlite - I'm planning to run visual regression tests against my staging environments.