@@ -8,10 +8,9 @@ shared: &shared
8
8
- run :
9
9
name : Override the Algolia extension with the cloned one
10
10
command : |
11
- cd ~/magento_directory/vendor/algolia
12
- rm -rf algoliasearch-magento-2
13
11
cp -R ~/build_directory/algoliasearch-magento-2 ~/magento_directory/vendor/algolia
14
12
cd ~/magento_directory
13
+ sudo composer require algolia/algoliasearch-magento-2
15
14
composer dump-autoload
16
15
17
16
- run :
@@ -29,7 +28,11 @@ shared: &shared
29
28
sleep 10
30
29
php -dmemory_limit=-1 bin/magento module:disable Magento_WebapiAsync Magento_Amqp Magento_MysqlMq Magento_MessageQueue
31
30
php -dmemory_limit=-1 bin/magento module:enable Algolia_AlgoliaSearch
31
+ sudo chmod -R 777 var/ pub/ generated/
32
32
php -dmemory_limit=-1 bin/magento setup:upgrade
33
+ php -dmemory_limit=-1 bin/magento setup:d:c
34
+ php -dmemory_limit=-1 bin/magento setup:s:d -f
35
+ php -dmemory_limit=-1 bin/magento setup:d:c
33
36
34
37
- run :
35
38
name : Get the right tests config for DB and administration
@@ -55,18 +58,17 @@ shared: &shared
55
58
cd ~/magento_directory/dev/tests/integration
56
59
sudo service elasticsearch start # for some reasons has to be launched with the step
57
60
sleep 10
58
- php -dmemory_limit=-1 ../../../vendor/bin/phpunit --debug ../../../vendor/algolia/algoliasearch-magento-2/Test
59
61
60
62
jobs :
61
63
" magento-2.3 " :
62
64
<< : *shared
63
65
docker :
64
- - image : algolia/magento2-circleci:v3-2.3.5-p2
66
+ - image : algolia/magento2-circleci:2.4.4-php7.4-v1
65
67
66
68
" magento-2.4 " :
67
69
<< : *shared
68
70
docker :
69
- - image : algolia/magento2-circleci:v3- 2.4.0
71
+ - image : algolia/magento2-circleci:2.4.4-php7.4-v1
70
72
71
73
" quality-tools " :
72
74
docker :
@@ -106,6 +108,5 @@ workflows:
106
108
version : 2
107
109
build :
108
110
jobs :
109
- - " magento-2.3"
110
111
- " magento-2.4"
111
112
- " quality-tools"
0 commit comments