8000 Skip tests not working in mswin GitHub Actions · github/ruby@544d257 · GitHub
[go: up one dir, main page]

Skip to content

Commit 544d257

Browse files
committed
Skip tests not working in mswin GitHub Actions
1 parent 5490814 commit 544d257

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tool/test/webrick/test_filehandler.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ def test_unwise_in_path
247247

248248
def test_short_filename
249249
return if File.executable?(__FILE__) # skip on strange file system
250+
return if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning
250251

251252
config = {
252253
:CGIInterpreter => TestWEBrick::RubyBin,

tool/test/webrick/test_httpproxy.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ def test_connect
323323
end if defined?(OpenSSL::SSL)
324324

325325
def test_upstream_proxy
326+
return if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning
326327
# Testing GET or POST through the upstream proxy server
327328
# Note that the upstream proxy server works as the origin server.
328329
# +------+

0 commit comments

Comments
 (0)
0