@@ -38,29 +38,43 @@ jobs:
3838 # NOTE: truffleruby does not support upgrading rubygems.
3939 # truffleruby-22.3 (targets Ruby 3.0 compatibility)
4040 - ruby : " truffleruby-22.3"
41- appraisal : " ar-7-1 "
42- exec_cmd : " rake spec:orm:active_record "
41+ appraisal : " couch-1.17 "
42+ exec_cmd : " rake spec:orm:couch_potato "
4343 gemfile : " Appraisal.root"
4444 rubygems : default
4545 bundler : default
4646
4747 # truffleruby-23.0 (targets Ruby 3.1 compatibility)
4848 - ruby : " truffleruby-23.0"
49- appraisal : " ar-7-2 "
50- exec_cmd : " rake spec:orm:active_record "
49+ appraisal : " couch-1.17 "
50+ exec_cmd : " rake spec:orm:couch_potato "
5151 gemfile : " Appraisal.root"
5252 rubygems : default
5353 bundler : default
5454
5555 # truffleruby-23.1 (targets Ruby 3.2 compatibility)
5656 - ruby : " truffleruby-23.1"
57- appraisal : " ar-8-0 "
58- exec_cmd : " rake spec:orm:active_record "
57+ appraisal : " couch-1.17 "
58+ exec_cmd : " rake spec:orm:couch_potato "
5959 gemfile : " Appraisal.root"
6060 rubygems : default
6161 bundler : default
6262
6363 steps :
64+ # ## COUCHDB
65+ - name : Start CouchDB
66+ uses : iamssen/couchdb-github-action@master
67+ if : " endsWith(matrix.exec_cmd, 'couch_potato')"
68+ with :
69+ couchdb-version : " 3.4.1"
70+
71+ # ## SMOKE-TEST
72+ - name : Smoke CouchDB
73+ if : " endsWith(matrix.exec_cmd, 'couch_potato')"
74+ run : |
75+ curl -f http://127.0.0.1:5984/
76+ curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
77+
6478 - name : Checkout
6579 uses : actions/checkout@v4
6680
0 commit comments