File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 19
19
magento-version :
20
20
type : string
21
21
steps :
22
- - attach_workspace :
23
- at : ~/Sites
24
22
- checkout
25
23
- php/install_php :
26
24
version : << parameters.php-version >>
@@ -71,25 +69,22 @@ jobs:
71
69
bin/composer require algolia/algoliasearch-client-php "^4.0" -W
72
70
bin/magento setup:di:compile
73
71
bin/magento module:status Algolia_AlgoliaSearch
74
- - persist_to_workspace :
75
- root : ~/Sites
76
- paths :
77
- - ~/Sites
78
72
79
73
magento-test :
80
- executor :
81
- name : magento-executor
82
- working_directory : ~/Sites
74
+ docker :
75
+ - image : cimg/php:8.2
76
+ working_directory : ~/project
83
77
steps :
84
78
- checkout
85
79
- run :
86
80
name : Run PHP Unit Tests
87
81
command : |
88
82
composer config --global http-basic.repo.magento.com ${MAGENTO_AUTH_USERNAME} ${MAGENTO_AUTH_PASSWORD}
83
+ composer install --no-interaction
89
84
composer require --dev phpunit/phpunit
90
85
vendor/bin/phpunit --testsuite Unit
91
86
- store_test_results :
92
- path : ~/Sites /vendor/bin/phpunit
87
+ path : ~/project /vendor/bin/phpunit
93
88
94
89
workflows :
95
90
magento-build-and-test :
@@ -103,6 +98,4 @@ workflows:
103
98
branches :
104
99
only :
105
100
- MAGE-991
106
- - magento-test :
107
- requires :
108
- - magento-build
101
+ - magento-test
You can’t perform that action at this time.
0 commit comments