Skip to content

Commit 8e5afe6

Browse files
committed
👷 CI config
1 parent ddecb83 commit 8e5afe6

File tree

3 files changed

+37
-9
lines changed

3 files changed

+37
-9
lines changed

.github/workflows/ancient.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,6 @@ jobs:
137137
if: "endsWith(matrix.exec_cmd, 'couch_potato')"
138138
with:
139139
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
145140

146141
### MONGODB
147142
- name: Start MongoDB
@@ -150,6 +145,13 @@ jobs:
150145
with:
151146
mongodb-version: "8.0"
152147

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+
153155
- name: Checkout
154156
uses: actions/checkout@v4
155157

.github/workflows/coverage.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,24 @@ jobs:
5252
### COUCHDB
5353
- name: Start CouchDB
5454
uses: iamssen/couchdb-github-action@master
55+
if: "endsWith(matrix.exec_cmd, 'couch_potato')"
5556
with:
5657
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
6158

6259
### MONGODB
6360
- name: Start MongoDB
6461
uses: supercharge/mongodb-github-action@1.12.0
62+
if: "endsWith(matrix.exec_cmd, 'mongoid')"
6563
with:
6664
mongodb-version: "8.0"
6765

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+
6873
- name: Checkout
6974
uses: actions/checkout@v4
7075

.github/workflows/current.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,27 @@ jobs:
9191
bundler: default
9292

9393
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+
94115
- name: Checkout
95116
uses: actions/checkout@v4
96117

0 commit comments

Comments
 (0)