File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717on :
1818 push :
1919 branches :
20- - ' main'
21- - ' *-stable'
20+ - " main"
21+ - " *-stable"
2222 tags :
23- - ' !* ' # Do not execute on tags
23+ - " !* " # Do not execute on tags
2424 pull_request :
2525 branches :
26- - ' * '
26+ - " * "
2727 # Allow manually triggering the workflow.
2828 workflow_dispatch :
2929
@@ -48,11 +48,29 @@ jobs:
4848 # Coverage
4949 - ruby : " ruby"
5050 appraisal : " coverage"
51- exec_cmd : " rake spec:orm:active_record "
51+ exec_cmd : " rake spec:orm:all "
5252 rubygems : latest
5353 bundler : latest
5454
5555 steps :
56+ # ## COUCHDB
57+ - name : Start CouchDB
58+ uses : iamssen/couchdb-github-action@5456fb038864d42f8b82d4c29e3c1decd7fa82fd # master
59+ with :
60+ couchdb-version : " 3.4.1"
61+
62+ # ## MONGODB
63+ - name : Start MongoDB
64+ uses : supercharge/mongodb-github-action@90002f17bc44255a478ffc85b2401743d8367152 # v1.12.1
65+ with :
66+ mongodb-version : " 8.0"
67+
68+ # ## SMOKE-TEST
69+ - name : Smoke CouchDB
70+ run : |
71+ curl -f http://127.0.0.1:5984/
72+ curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
73+
5674 - name : Checkout
5775 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5876 with :
@@ -132,7 +150,7 @@ jobs:
132150 hide_complexity : true
133151 indicators : true
134152 output : both
135- thresholds : ' ${{ env.K_SOUP_COV_MIN_LINE }} ${{ env.K_SOUP_COV_MIN_BRANCH }}'
153+ thresholds : " ${{ env.K_SOUP_COV_MIN_LINE }} ${{ env.K_SOUP_COV_MIN_BRANCH }}"
136154 continue-on-error : ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
137155
138156 - name : Add Coverage PR Comment
You can’t perform that action at this time.
0 commit comments