mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Make sure database is present in tests.
This commit is contained in:
parent
9ca75d134e
commit
0ef9b5b462
@ -5,12 +5,13 @@ php:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
- composer selfupdate
|
|
||||||
- rm composer.lock
|
- rm composer.lock
|
||||||
- composer update --no-scripts
|
- composer update --no-scripts
|
||||||
- php artisan clear-compiled
|
- php artisan clear-compiled
|
||||||
- php artisan optimize
|
- php artisan optimize
|
||||||
- php artisan env
|
- php artisan env
|
||||||
|
- cp .env.testing .env
|
||||||
|
- mv storage/database/databasecopy.sqlite storage/database/database.sqlite
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- phpunit
|
- phpunit
|
2
storage/database/.gitignore
vendored
2
storage/database/.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
*
|
*
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!seed.*.json
|
!databasecopy.sqlite
|
Loading…
Reference in New Issue
Block a user