Skip to content

Commit e041b61

Browse files
[GHA] fix integration tests
1 parent f5b66b5 commit e041b61

File tree

1 file changed

+25
-23
lines changed

1 file changed

+25
-23
lines changed

.github/workflows/integration-tests.yml

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,25 @@ jobs:
2727
fail-fast: false
2828

2929
services:
30+
frankenphp:
31+
image: dunglas/frankenphp:1.1.0
32+
ports:
33+
- 80:80
34+
- 8681:81
35+
- 8682:82
36+
- 8683:83
37+
- 8684:84
38+
volumes:
39+
- ${{ github.workspace }}:/symfony
40+
env:
41+
SERVER_NAME: 'http://localhost http://localhost:81 http://localhost:82 http://localhost:83 http://localhost:84'
42+
CADDY_SERVER_EXTRA_DIRECTIVES: |
43+
route /http-client* {
44+
root * /symfony/src/Symfony/Component/HttpClient/Tests/Fixtures/response-functional/
45+
php_server
46+
}
47+
48+
root * /symfony/src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/
3049
postgres:
3150
image: postgres:10.6-alpine
3251
ports:
@@ -83,15 +102,17 @@ jobs:
83102
REDIS_SENTINEL_QUORUM: 1
84103
redis-primary:
85104
image: redis:latest
86-
hostname: redis-primary
87105
ports:
88106
- 16381:6379
89-
90107
redis-replica:
91-
image: redis:latest
108+
image: bitnami/redis:latest
92109
ports:
93110
- 16382:6379
94-
command: redis-server --slaveof redis-primary 6379
111+
env:
112+
ALLOW_EMPTY_PASSWORD: "yes"
113+
REDIS_REPLICATION_MODE: "slave"
114+
REDIS_MASTER_HOST: redis-primary
115+
REDIS_MASTER_PORT_NUMBER: "6379"
95116
memcached:
96117
image: memcached:1.6.5
97118
ports:
@@ -129,25 +150,6 @@ jobs:
129150
KAFKA_CFG_LISTENERS: 'PLAINTEXT://:9092'
130151
KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper:2181'
131152
options: --name=kafka
132-
frankenphp:
133-
image: dunglas/frankenphp:1.1.0
134-
ports:
135-
- 80:80
136-
- 8681:81
137-
- 8682:82
138-
- 8683:83
139-
- 8684:84
140-
volumes:
141-
- ${{ github.workspace }}:/symfony
142-
env:
143-
SERVER_NAME: 'http://localhost http://localhost:81 http://localhost:82 http://localhost:83 http://localhost:84'
144-
CADDY_SERVER_EXTRA_DIRECTIVES: |
145-
route /http-client* {
146-
root * /symfony/src/Symfony/Component/HttpClient/Tests/Fixtures/response-functional/
147-
php_server
148-
}
149-
150-
root * /symfony/src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/
151153

152154
steps:
153155
- name: Checkout

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy