Open robbert-u opened 2 years ago
Sorry for taking a long time to respond, it's been really busy with work projects.
I will build an example on https://github.com/php-actions/example-phpunit to test this and see what the best approach is. Any feedback welcome.
Hi Greg,
Thanks for making time for this. Did you find something that helps? I'm still looking for a solution.
Hi,
In my Laravel project, I squashed my migrations which resulted in a
schema.dump
(sql) file which is imported when running your migrations.I my tests we make use of the RefreshDatabase trait which makes sure you start your test with a clean database. Since I squashed our migrations, it tries to import the
schema.dump
via amysql
command which cannot be found.When running my tests in GitHub I encounter the follow exception;
Work flow:
Shouldn't
mysql
be installed by default?