@@ -132,27 +132,25 @@ jobs:
132
132
name : Create integration test environment file
133
133
working_directory : ~/Sites
134
134
command : |
135
- cat > .env \<< 'EOF'
136
-
137
- MAGENTO_ADMIN_FIRST_NAME=john
138
- MAGENTO_ADMIN_LAST_NAME=smith
139
- MAGENTO_ADMIN_USER=john.smith
140
- MAGENTO_ADMIN_PASSWORD=password123
141
- MAGENTO_ADMIN_FRONTNAME=admin
142
- MAGENTO_LOCALE=en_US
143
- MAGENTO_CURRENCY=USD
144
- MAGENTO_TIMEZONE=America/New_York
145
- ALGOLIA_APPLICATION_ID=${ALGOLIA_APPLICATION_ID}
146
- ALGOLIA_SEARCH_KEY=${ALGOLIA_SEARCH_API_KEY}
147
- ALGOLIA_API_KEY=${ALGOLIA_API_KEY}
148
- INDEX_PREFIX=integration_test_
149
- EOF
135
+
136
+ echo "MAGENTO_ADMIN_FIRST_NAME=john" >> .env
137
+ echo "MAGENTO_ADMIN_LAST_NAME=smith" >> .env
138
+ echo "MAGENTO_ADMIN_USER=john.smith" >> .env
139
+ echo "MAGENTO_ADMIN_PASSWORD=password123" >> .env
140
+ echo "MAGENTO_ADMIN_FRONTNAME=admin" >> .env
141
+ echo "MAGENTO_LOCALE=en_US" >> .env
142
+ echo "MAGENTO_CURRENCY=USD" >> .env
143
+ echo "MAGENTO_TIMEZONE=America/New_York" >> .env
144
+ echo "ALGOLIA_APPLICATION_ID=$ALGOLIA_APPLICATION_ID" >> .env
145
+ echo "ALGOLIA_SEARCH_KEY=$ALGOLIA_SEARCH_API_KEY" >> .env
146
+ echo "ALGOLIA_API_KEY=$ALGOLIA_API_KEY" >> .env
147
+ echo "INDEX_PREFIX=integration_test_" >> .env
150
148
docker cp .env $(docker compose ps -q phpfpm):/var/www/html/dev/tests/integration/.env
151
149
- run :
152
150
name : Apply environment variables
153
151
working_directory : ~/Sites
154
152
command : |
155
- bin/cli bash -c "cd ./dev/tests/integration && export \ $(cat .env | xargs) && echo 'Environment variables applied successfully'"
153
+ bin/cli bash -c "cd ./dev/tests/integration && export $(cat .env | xargs) && echo 'Environment variables applied successfully'"
156
154
- run :
157
155
name : Prepare integration test environment
158
156
working_directory : ~/Sites
@@ -164,7 +162,7 @@ jobs:
164
162
name : Run Integration Tests
165
163
working_directory : ~/Sites
166
164
command : |
167
- bin/cli bash -c "cd ./dev/tests/integration && ../../../vendor/bin/phpunit --debug ../../../vendor/algolia/algoliasearch-magento-2/Test/Integration/"
165
+ bin/cli bash -c "cd ./dev/tests/integration && ../../../vendor/bin/phpunit --debug --exclude-group problematic ../../../vendor/algolia/algoliasearch-magento-2/Test/Integration/"
168
166
169
167
workflows :
170
168
magento-build-and-test-workflow :
0 commit comments