Skip to content

Commit 611a1b0

Browse files
move .env
1 parent 46885e4 commit 611a1b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ jobs:
146146
echo "ALGOLIA_API_KEY=$ALGOLIA_API_KEY" >> .env
147147
echo "INDEX_PREFIX=integration_test_" >> .env
148148
docker cp .env $(docker compose ps -q phpfpm):/var/www/html/dev/tests/integration/.env
149-
bin/cli bash -c "cd ./dev/tests/integration && export $(cat .env | xargs)"
150149
- run:
151150
name: Prepare integration test environment
152151
working_directory: ~/Sites
@@ -158,7 +157,7 @@ jobs:
158157
name: Run Integration Tests
159158
working_directory: ~/Sites
160159
command: |
161-
bin/cli bash -c "cd ./dev/tests/integration && ../../../vendor/bin/phpunit --debug --exclude-group problematic ../../../vendor/algolia/algoliasearch-magento-2/Test/Integration/"
160+
bin/cli bash -c "cd ./dev/tests/integration && export $(cat .env | xargs) && ../../../vendor/bin/phpunit --debug --exclude-group problematic ../../../vendor/algolia/algoliasearch-magento-2/Test/Integration/"
162161
163162
workflows:
164163
magento-build-and-test-workflow:

0 commit comments

Comments
 (0)