Skip to content

Commit 39a723f

Browse files
yahondaclaude
andcommitted
Introduce .rspec config and drop RUBYOPT=-w from CI workflows
Mirror the `.rspec` from rsim/oracle-enhanced: --force-color --backtrace --require spec_helper --warnings The `--warnings` flag replaces the per-workflow `RUBYOPT=-w` prefix on `bundle exec rspec`, so the same warning surface is now driven from a single project-level file rather than seven workflow scripts plus one workflow-level env block in devcontainer.yml. `--force-color` and `--backtrace` make CI logs (and local runs) more debuggable; `--require spec_helper` lets individual specs skip the require eventually. No spec changes; spec/plsql/procedure_spec.rb stays green (195 examples, 0 failures, 1 pre-existing pending) and no new warnings are emitted with `--warnings` on. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8802375 commit 39a723f

9 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/devcontainer.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
- cron: "0 6 1 * *" # 1st of every month at 6:00 AM UTC
66
workflow_dispatch:
77

8-
env:
9-
RUBYOPT: "-w"
10-
118
jobs:
129
test:
1310
runs-on: ubuntu-latest

.github/workflows/jruby_head.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ jobs:
7272
bundle install --jobs 4 --retry 3
7373
- name: Run RSpec
7474
run: |
75-
RUBYOPT=-w bundle exec rspec
75+
bundle exec rspec

.github/workflows/ruby_head.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ jobs:
7878
bundle install --jobs 4 --retry 3
7979
- name: Run RSpec
8080
run: |
81-
RUBYOPT=-w bundle exec rspec
81+
bundle exec rspec

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ jobs:
9090
bundle install --jobs 4 --retry 3
9191
- name: Run RSpec
9292
run: |
93-
RUBYOPT=-w bundle exec rspec
93+
bundle exec rspec

.github/workflows/test_11g.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ jobs:
9696
bundle install --jobs 4 --retry 3
9797
- name: Run RSpec
9898
run: |
99-
RUBYOPT=-w bundle exec rspec
99+
bundle exec rspec

.github/workflows/test_11g_ojdbc11.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ jobs:
9191
bundle install --jobs 4 --retry 3
9292
- name: Run RSpec
9393
run: |
94-
RUBYOPT=-w bundle exec rspec
94+
bundle exec rspec

.github/workflows/test_gemfiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ jobs:
104104
bundle install --jobs 4 --retry 3
105105
- name: Run RSpec
106106
run: |
107-
RUBYOPT=-w bundle exec rspec
107+
bundle exec rspec

.github/workflows/truffleruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ jobs:
7979
bundle install --jobs 4 --retry 3
8080
- name: Run RSpec
8181
run: |
82-
RUBYOPT=-w bundle exec rspec
82+
bundle exec rspec

.rspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--force-color
2+
--backtrace
3+
--require spec_helper
4+
--warnings

0 commit comments

Comments
 (0)