Skip to content

Commit 75c15cb

Browse files
committed
Retemplate with yard-timekeeper 0.2.1
1 parent 4e9a43d commit 75c15cb

35 files changed

Lines changed: 86 additions & 175 deletions

.github/workflows/coverage.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ env:
1717
on:
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,29 +48,11 @@ jobs:
4848
# Coverage
4949
- ruby: "ruby"
5050
appraisal: "coverage"
51-
exec_cmd: "rake spec:orm:all"
51+
exec_cmd: "kettle-test"
5252
rubygems: latest
5353
bundler: latest
5454

5555
steps:
56-
### COUCHDB
57-
- name: Start CouchDB
58-
uses: iamssen/couchdb-github-action@master
59-
with:
60-
couchdb-version: "3.4.1"
61-
62-
### MONGODB
63-
- name: Start MongoDB
64-
uses: supercharge/mongodb-github-action@1.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-
7456
- name: Checkout
7557
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7658
with:
@@ -150,7 +132,7 @@ jobs:
150132
hide_complexity: true
151133
indicators: true
152134
output: both
153-
thresholds: "${{ env.K_SOUP_COV_MIN_LINE }} ${{ env.K_SOUP_COV_MIN_BRANCH }}"
135+
thresholds: '${{ env.K_SOUP_COV_MIN_LINE }} ${{ env.K_SOUP_COV_MIN_BRANCH }}'
154136
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
155137

156138
- name: Add Coverage PR Comment

.github/workflows/current.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# Ruby 4.0
4040
- ruby: "ruby"
4141
appraisal: "current"
42-
exec_cmd: "rake spec:core"
42+
exec_cmd: "kettle-test"
4343
rubygems: latest
4444
bundler: latest
4545

.github/workflows/dep-heads.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ jobs:
4242
# Ruby 3.4
4343
- ruby: "ruby"
4444
appraisal: "dep-heads"
45-
exec_cmd: "rake spec:core"
45+
exec_cmd: "kettle-test"
4646
rubygems: latest
4747
bundler: latest
4848

4949
# truffleruby-24.1 (targets Ruby 3.3 compatibility)
5050
- ruby: "truffleruby"
5151
appraisal: "dep-heads"
52-
exec_cmd: "rake spec:core"
52+
exec_cmd: "kettle-test"
5353
rubygems: default
5454
bundler: default
5555

5656
# jruby-10.0 (targets Ruby 3.4 compatibility)
5757
- ruby: "jruby"
5858
appraisal: "dep-heads"
59-
exec_cmd: "rake spec:core"
59+
exec_cmd: "kettle-test"
6060
rubygems: default
6161
bundler: default
6262
experimental: true

.github/workflows/heads.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ jobs:
4141
# ruby-head
4242
- ruby: "ruby-head"
4343
appraisal: "head"
44-
exec_cmd: "rake spec:core"
44+
exec_cmd: "kettle-test"
4545
rubygems: default
4646
bundler: default
4747

4848
# truffleruby-head
4949
- ruby: "truffleruby-head"
5050
appraisal: "head"
51-
exec_cmd: "rake spec:core"
51+
exec_cmd: "kettle-test"
5252
rubygems: default
5353
bundler: default
5454

5555
# jruby-head
5656
- ruby: "jruby-head"
5757
appraisal: "head"
58-
exec_cmd: "rake spec:core"
58+
exec_cmd: "kettle-test"
5959
rubygems: default
6060
bundler: default
6161

.github/workflows/jruby-9.2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# jruby-9.2 (targets Ruby 2.5 compatibility)
4040
- ruby: "jruby-9.2"
4141
appraisal: "ruby-2-5"
42-
exec_cmd: "rake spec:core"
42+
exec_cmd: "kettle-test"
4343
rubygems: default
4444
bundler: default
4545

.github/workflows/jruby-9.3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# jruby-9.3 (targets Ruby 2.6 compatibility)
4040
- ruby: "jruby-9.3"
4141
appraisal: "ruby-2-6"
42-
exec_cmd: "rake spec:core"
42+
exec_cmd: "kettle-test"
4343
rubygems: "3.4.22"
4444
bundler: "2.4.22"
4545

.github/workflows/jruby-9.4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# jruby-9.4 (targets Ruby 3.1 compatibility)
4040
- ruby: "jruby-9.4"
4141
appraisal: "ruby-3-1"
42-
exec_cmd: "rake spec:core"
42+
exec_cmd: "kettle-test"
4343
rubygems: "3.6.9"
4444
bundler: "2.6.9"
4545

.github/workflows/jruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# jruby-10.0 (targets Ruby 3.4 compatibility)
4040
- ruby: "jruby"
4141
appraisal: "current"
42-
exec_cmd: "rake spec:core"
42+
exec_cmd: "kettle-test"
4343
rubygems: default
4444
bundler: default
4545
experimental: true

.github/workflows/locked_deps.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ env:
3636
on:
3737
push:
3838
branches:
39-
- "main"
40-
- "*-stable"
39+
- 'main'
40+
- '*-stable'
4141
tags:
42-
- "!*" # Do not execute on tags
42+
- '!*' # Do not execute on tags
4343
pull_request:
4444
branches:
45-
- "*"
45+
- '*'
4646
# Allow manually triggering the workflow.
4747
workflow_dispatch:
4848

@@ -70,24 +70,6 @@ jobs:
7070
experimental: false
7171

7272
steps:
73-
### COUCHDB
74-
- name: Start CouchDB
75-
uses: iamssen/couchdb-github-action@master
76-
with:
77-
couchdb-version: "3.4.1"
78-
79-
### MONGODB
80-
- name: Start MongoDB
81-
uses: supercharge/mongodb-github-action@1.12.1
82-
with:
83-
mongodb-version: "8.0"
84-
85-
### SMOKE-TEST
86-
- name: Smoke CouchDB
87-
run: |
88-
curl -f http://127.0.0.1:5984/
89-
curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
90-
9173
- name: Checkout
9274
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9375
with:

.github/workflows/ruby-2.4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# Ruby 2.4
3737
- ruby: "ruby-2.4"
3838
appraisal: "ruby-2-4"
39-
exec_cmd: "rake spec:core"
39+
exec_cmd: "kettle-test"
4040
rubygems: "3.3.27"
4141
bundler: "2.3.27"
4242

0 commit comments

Comments
 (0)