File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ jobs:
73
73
- store_test_results :
74
74
path : ~/Sites/unit-tests
75
75
- run :
76
- name : Run Unit Coverage
76
+ name : Run Unit Test Coverage and copy results to CircleCI
77
77
working_directory : ~/Sites
78
78
command : |
79
- bin/test/ unit- coverage vendor/algolia/algoliasearch-magento-2/Test/Unit
80
- docker cp $(docker compose ps -q phpfpm):/var/www/html/dev/tests/unit/report ~/Sites /unit-coverage/
79
+ bin/cli php -d xdebug.mode=coverage vendor/bin/phpunit --log-junit /var/www/html/dev/tests/ unit/report/junit.xml -- coverage-html /var/www/html/dev/tests/unit/report --coverage-filter /var/www/html/vendor/algolia/algoliasearch-magento-2/ /var/www/html/ vendor/algolia/algoliasearch-magento-2/Test/Unit
80
+ docker cp $(docker compose ps -q phpfpm):/var/www/html/dev/tests/unit/report . /unit-coverage/
81
81
- store_artifacts :
82
- path : ~/Sites/unit-coverage
82
+ path : ~/Sites/unit-coverage/report
83
83
destination : test-results/magento-<< parameters.magento-version >>-php-<< parameters.php-version >>
84
84
85
85
workflows :
You can’t perform that action at this time.
0 commit comments