Skip to content

Commit 711b648

Browse files
committed
Split coverage check to isolate io-console stopdoc failure
Run coverage in two steps: 1. Full ruby/ruby excluding io-console (must pass - no regressions) 2. io-console only (fails due to stopdoc bug, passes with fix) This proves the failure is isolated to io-console's :stopdoc: handling.
1 parent f13101b commit 711b648

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ruby-core.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,22 @@ jobs:
6666
gem install rdoc-*.gem
6767
bundle exec rake build:local_ruby
6868
working-directory: ruby/rdoc
69-
- name: Core docs coverage
70-
# Exclusions match RDOC_COVERAGE_EXCLUDES in ruby/ruby's common.mk
69+
- name: Core docs coverage (excluding io-console)
70+
# Exclusions match RDOC_COVERAGE_EXCLUDES in ruby/ruby's common.mk,
71+
# plus ext/io/console which is checked separately below.
7172
run: >
7273
BUNDLE_GEMFILE=../rdoc/Gemfile bundle exec rdoc --quiet -C
7374
-x ^ext/json -x ^ext/openssl -x ^ext/psych
7475
-x ^lib/bundler -x ^lib/rubygems
7576
-x ^lib/did_you_mean -x ^lib/error_highlight -x ^lib/syntax_suggest
77+
-x ^ext/io/console
7678
.
7779
working-directory: ruby/ruby
80+
- name: Core docs coverage (io-console)
81+
run: >
82+
BUNDLE_GEMFILE=../rdoc/Gemfile bundle exec rdoc --quiet -C
83+
ext/io/console
84+
working-directory: ruby/ruby
7885
- name: Generate Documentation with RDoc
7986
run: make html
8087
working-directory: ruby/ruby

0 commit comments

Comments
 (0)