Skip to content

Commit e69d314

Browse files
committed
Add RDoc coverage check for C extensions in ruby-core CI
Run `rdoc -C` against ext/io/console in ruby/ruby to catch coverage regressions for C extensions that use :stopdoc: directives.
1 parent e4e332f commit e69d314

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ruby-core.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ jobs:
6666
gem install rdoc-*.gem
6767
bundle exec rake build:local_ruby
6868
working-directory: ruby/rdoc
69+
- name: Run RDoc coverage check on C extensions
70+
run: ruby -I../rdoc/lib ../rdoc/exe/rdoc -C -q ext/io/console
71+
working-directory: ruby/ruby
6972
- name: Generate Documentation with RDoc
7073
run: make html
7174
working-directory: ruby/ruby

0 commit comments

Comments
 (0)