File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 51
51
- name : Build and start Docker Compose services then run tests
52
52
run : |
53
53
bash ./setup_github.sh &&
54
- docker-compose up --build --no-deps -d --scale test=0 &&
54
+ docker-compose up --build --no-deps -d --profile baseServices &&
55
55
docker compose run test npx cypress run --config-file cypress.config.js
56
56
57
57
# - name: check dns is working
Original file line number Diff line number Diff line change 1
1
services :
2
2
frontend :
3
+ profiles : ["baseServices"]
3
4
build : ${FRONTEND_BUILD_CONTEXT}
4
5
ports :
5
6
- 3000
@@ -11,6 +12,7 @@ services:
11
12
volumes :
12
13
- ./repo_refs/react1-app:/app
13
14
api :
15
+ profiles : ["baseServices"]
14
16
build : ${API_BUILD_CONTEXT}
15
17
ports :
16
18
- 3000
@@ -33,6 +35,7 @@ services:
33
35
db :
34
36
condition : service_healthy
35
37
db :
38
+ profiles : ["baseServices"]
36
39
image : postgres
37
40
ports :
38
41
- 5432
@@ -50,6 +53,7 @@ services:
50
53
timeout : 5s
51
54
retries : 3
52
55
backend :
56
+ profiles : ["baseServices"]
53
57
build : ${BACKEND_BUILD_CONTEXT}
54
58
ports :
55
59
- 3000
@@ -61,6 +65,7 @@ services:
61
65
volumes :
62
66
- ./repo_refs/react2-app:/app
63
67
nginx :
68
+ profiles : ["baseServices"]
64
69
image : nginx:alpine
65
70
ports :
66
71
- 8089:80
You can’t perform that action at this time.
0 commit comments