Skip to content

Commit 876e40b

Browse files
committed
CI: Apply UTF8-CLI patch to ruby/spec
And exclude spec which failes on ruby-3.2.9 like so: ``` 1) URI#select conforms to the MatzRuby tests FAILED Expected "http://oof@baz" == "***baz" to be truthy but was false D:/a/rubyinstaller2/rubyinstaller2/ruby/spec/ruby/library/uri/set_component_spec.rb:9:in `block (2 levels) in <top (required)>' D:/a/rubyinstaller2/rubyinstaller2/ruby/spec/ruby/library/uri/set_component_spec.rb:5:in `<top (required)>' ```
1 parent c532c61 commit 876e40b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,9 @@ jobs:
282282
ridk enable
283283
if (-not ([string]::IsNullOrWhiteSpace($env:run_mri_spec))) {
284284
git clone --depth 1 https://github.com/ruby/ruby -b $env:run_mri_spec &&
285-
env --unset=RUBYOPT ruby -C ruby/spec/ruby ../mspec/bin/mspec -I../../tool/lib -j --exclude "CVE-2020-10663 is resisted by only creating custom objects if passed create_additions: true or using JSON.load"
285+
cd ruby &&
286+
curl https://raw.githubusercontent.com/oneclick/rubyinstaller2-packages/refs/heads/master/mingw-w64-ruby40/0016-Windows-Change-command-line-interface-to-UTF-8-specs.patch | patch -p1 &&
287+
env --unset=RUBYOPT ruby -C spec/ruby ../mspec/bin/mspec -I../../tool/lib -j --exclude "CVE-2020-10663 is resisted by only creating custom objects if passed create_additions: true or using JSON.load" --exclude "URI#select conforms to the MatzRuby tests"
286288
}
287289
288290
- name: Verify that the used CA list is still the latest.

0 commit comments

Comments
 (0)