Skip to content

Commit c5566d8

Browse files
committed
[12.x] Start redis cluster before Install dependencies
1 parent 0df1739 commit c5566d8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/queues.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,6 @@ jobs:
152152
- name: Set Framework version
153153
run: composer config version "12.x-dev"
154154

155-
- name: Install dependencies
156-
uses: nick-fields/retry@v3
157-
with:
158-
timeout_minutes: 5
159-
max_attempts: 5
160-
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
161-
162155
- name: Create Redis Cluster
163156
run: |
164157
sudo apt update
@@ -169,6 +162,13 @@ jobs:
169162
redis-server --daemonize yes --port 7002 --appendonly yes --cluster-enabled yes --cluster-config-file nodes-7002.conf
170163
redis-cli --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 --cluster-replicas 0 --cluster-yes
171164
165+
- name: Install dependencies
166+
uses: nick-fields/retry@v3
167+
with:
168+
timeout_minutes: 5
169+
max_attempts: 5
170+
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
171+
172172
- name: Execute tests
173173
run: vendor/bin/phpunit tests/Integration/Queue
174174
env:

0 commit comments

Comments
 (0)