chilio / laravel-dusk-ci

Docker Test suite for Laravel Dusk in gitlab CI
MIT License
159 stars 51 forks source link

Imagick not found #61

Closed manfield closed 3 years ago

manfield commented 3 years ago

Hi, I've been using laravel-dusk-ci for months without issues. Today I'm deploying the same project, with insignificant modification, after 15 days, when I deployed for the last time. I have this log:

Using docker image sha256:632ebeed8b4da381bec26e66c5416bf06faa59a1f575a65d22ce8cd888ba9f74 for chilio/laravel-dusk-ci:php-7.4 with digest chilio/laravel-dusk-ci@sha256:b438203ef7409ddab8a79976262a7061fda175cc39d3425df334f2673826b322 ...
$ ./vendor/bin/phpunit --version && ./vendor/bin/phpunit -v tests/Feature
PHPUnit 9.5.4 by Sebastian Bergmann and contributors.
PHPUnit 9.5.4 by Sebastian Bergmann and contributors.
Runtime:       PHP 7.4.21
Configuration: /builds/onde-alte/civic-hack/phpunit.xml
.........................EEEE.......................EEEE.......  63 / 288 ( 21%)
........................EEEEEE................................. 126 / 288 ( 43%)
.........................................................F..... 189 / 288 ( 65%)
F.............................................................. 252 / 288 ( 87%)
.................EE...............
Time: 01:39.283, Memory: 151.00 MB
There were 16 errors:
1) Tests\Feature\CaseStudy\CaseStudyImagesUploadTest::it_uploads_a_new_case_study_image
Error: Class 'Imagick' not found
/builds/onde-alte/civic-hack/app/Libs/Utils/ImageProcessors/ImageProcessor.php:22
/builds/onde-alte/civic-hack/app/Http/Controllers/Stubs/StubImageController.php:43
/builds/onde-alte/civic-hack/app/Http/Controllers/Stubs/StubFileController.php:111
/builds/onde-alte/civic-hack/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
/builds/onde-alte/civic-hack/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45

It's strange. Imagick always was in this image. Did you change smt recently?

manfield commented 3 years ago

Imagick is there. I checked. The problem should be another