Skip to content

Commit bf0ff20

Browse files
add unit tests
1 parent 6f4b9a2 commit bf0ff20

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.circleci/config.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@ jobs:
7070
bin/magento setup:di:compile
7171
bin/magento module:status Algolia_AlgoliaSearch
7272
73+
magento-test:
74+
docker:
75+
- image: cimg/php:8.2
76+
steps:
77+
- checkout
78+
- run:
79+
name: Run PHP Unit Tests
80+
command: |
81+
composer require --dev phpunit/phpunit
82+
vendor/bin/phpunit --testsuite Unit
83+
- store_test_results:
84+
path: ~/project/vendor/bin/phpunit
85+
7386
workflows:
7487
magento-build-and-test:
7588
jobs:
@@ -81,4 +94,5 @@ workflows:
8194
filters:
8295
branches:
8396
only:
84-
- MAGE-991
97+
- MAGE-991
98+
- magento-test

0 commit comments

Comments
 (0)