diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 3b2be7bb65..32d9864da1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,7 +35,8 @@ jobs: ${{ runner.os }}-chocolatey- - name: Install libraries with chocolatey run: | - choco install --no-progress openssl winflexbison3 + Choco-Install -PackageName openssl winflexbison3 + shell: pwsh - name: git config run: | git config --global core.autocrlf false diff --git a/test/irb/test_raise_no_backtrace_exception.rb b/test/irb/test_raise_no_backtrace_exception.rb index 925f39a81c..9790d508fe 100644 --- a/test/irb/test_raise_no_backtrace_exception.rb +++ b/test/irb/test_raise_no_backtrace_exception.rb @@ -23,7 +23,7 @@ IRB end def test_raise_exception_with_different_encoding_containing_invalid_byte_sequence - skip if RUBY_ENGINE == 'truffleruby' + skip if RUBY_ENGINE == 'truffleruby' || /mswin|mingw/ =~ RUBY_PLATFORM backup_home = ENV["HOME"] Dir.mktmpdir("test_irb_raise_no_backtrace_exception_#{$$}") do |tmpdir| ENV["HOME"] = tmpdir