Quantcast
Channel: CircleCI Discuss - Latest posts
Viewing all articles
Browse latest Browse all 14879

Laravel SQLite migrates but doesn't test

$
0
0

Thank you for your reply.

I’ve removed the cache to no joy, also tried running the test over SSH which didn’t work either. However, the migrations continue to work as normal.

- run: sudo docker-php-ext-install pdo_sqlite
- run: sudo docker-php-ext-enable pdo_sqlite

When I checked the output of these commands, it shows warning: pdo_sqlite (pdo_sqlite.so) is already loaded! However, on the working build, it also has that output.

The tests had previously broken on my workstation (same error), and PHP required a version bump to 7.4. However, on CircleCI bumping the version doesn’t seem to have made a difference.

Using php -m I can see that PDO, sqlite3 and pdo_sqlite are loaded. Running the same command on my workstation, I can see that those are the only PDO/sqlite related extensions loaded.

Thanks.


Viewing all articles
Browse latest Browse all 14879

Trending Articles