File tree Expand file tree Collapse file tree 3 files changed +37
-9
lines changed Expand file tree Collapse file tree 3 files changed +37
-9
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,6 @@ jobs:
137
137
if : " endsWith(matrix.exec_cmd, 'couch_potato')"
138
138
with :
139
139
couchdb-version : " 3.4.1"
140
- - name : Smoke CouchDB
141
- if : " endsWith(matrix.exec_cmd, 'couch_potato')"
142
- run : |
143
- curl -f http://127.0.0.1:5984/
144
- curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
145
140
146
141
# ## MONGODB
147
142
- name : Start MongoDB
@@ -150,6 +145,13 @@ jobs:
150
145
with :
151
146
mongodb-version : " 8.0"
152
147
148
+ # ## SMOKE-TEST
149
+ - name : Smoke CouchDB
150
+ if : " endsWith(matrix.exec_cmd, 'couch_potato')"
151
+ run : |
152
+ curl -f http://127.0.0.1:5984/
153
+ curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
154
+
153
155
- name : Checkout
154
156
uses : actions/checkout@v4
155
157
Original file line number Diff line number Diff line change @@ -52,19 +52,24 @@ jobs:
52
52
# ## COUCHDB
53
53
- name : Start CouchDB
54
54
uses : iamssen/couchdb-github-action@master
55
+ if : " endsWith(matrix.exec_cmd, 'couch_potato')"
55
56
with :
56
57
couchdb-version : " 3.4.1"
57
- - name : Smoke CouchDB
58
- run : |
59
- curl -f http://127.0.0.1:5984/
60
- curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
61
58
62
59
# ## MONGODB
63
60
- name : Start MongoDB
64
61
uses : supercharge/mongodb-github-action@1.12.0
62
+ if : " endsWith(matrix.exec_cmd, 'mongoid')"
65
63
with :
66
64
mongodb-version : " 8.0"
67
65
66
+ # ## SMOKE-TEST
67
+ - name : Smoke CouchDB
68
+ if : " endsWith(matrix.exec_cmd, 'couch_potato')"
69
+ run : |
70
+ curl -f http://127.0.0.1:5984/
71
+ curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
72
+
68
73
- name : Checkout
69
74
uses : actions/checkout@v4
70
75
Original file line number Diff line number Diff line change 91
91
bundler : default
92
92
93
93
steps :
94
+ # ## COUCHDB
95
+ - name : Start CouchDB
96
+ uses : iamssen/couchdb-github-action@master
97
+ if : " endsWith(matrix.exec_cmd, 'couch_potato')"
98
+ with :
99
+ couchdb-version : " 3.4.1"
100
+
101
+ # ## MONGODB
102
+ - name : Start MongoDB
103
+ uses : supercharge/mongodb-github-action@1.12.0
104
+ if : " endsWith(matrix.exec_cmd, 'mongoid')"
105
+ with :
106
+ mongodb-version : " 8.0"
107
+
108
+ # ## SMOKE-TEST
109
+ - name : Smoke CouchDB
110
+ if : " endsWith(matrix.exec_cmd, 'couch_potato')"
111
+ run : |
112
+ curl -f http://127.0.0.1:5984/
113
+ curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
114
+
94
115
- name : Checkout
95
116
uses : actions/checkout@v4
96
117
You can’t perform that action at this time.
0 commit comments