Skip to content

Commit 1849a54

Browse files
Optimize via workspaces
1 parent 7f447f7 commit 1849a54

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.circleci/config.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ jobs:
108108
- store_artifacts:
109109
path: ~/Sites/unit-coverage/report
110110
destination: test-results/magento-<< parameters.magento-version >>-php-<< parameters.php-version >>
111+
- persist_to_workspace:
112+
root: ~/Sites
113+
paths:
114+
- .
111115

112116
magento-integration-test:
113117
executor:
@@ -118,9 +122,13 @@ jobs:
118122
magento-version:
119123
type: string
120124
steps:
121-
- setup-magento-environment:
122-
php-version: << parameters.php-version >>
123-
magento-version: << parameters.magento-version >>
125+
- attach_workspace:
126+
at: ~/Sites
127+
- run:
128+
name: Start Docker containers
129+
working_directory: ~/Sites
130+
command: |
131+
docker compose -f compose.yaml -f compose.override.yml up -d --remove-orphans
124132
- run:
125133
name: Configure integration tests
126134
working_directory: ~/Sites

0 commit comments

Comments
 (0)