mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 05:29:10 +02:00
Ignore net-imap failures on Windows (#14216)
Some checks failed
Cygwin / make (push) Waiting to run
MinGW / (UCRT64) (push) Waiting to run
Annocheck / test-annocheck (push) Failing after 1m2s
Check Dependencies / Dependency checks (push) Failing after 58s
Misc / Miscellaneous checks (push) Failing after 1m0s
CodeQL / Analyze (push) Failing after 56s
parse.y / make (test-bundled-gems) (push) Failing after 57s
parse.y / make (test-bundler-parallel) (push) Failing after 55s
WebAssembly / make (map[debugflags: name:O2 optflags:-O2 wasmoptflags:-O2]) (push) Failing after 53s
Compilations / omnibus compilations, #1 (push) Has been skipped
Compilations / omnibus compilations, #2 (push) Has been skipped
Compilations / omnibus compilations, #3 (push) Has been skipped
Compilations / omnibus compilations, #6 (push) Has been skipped
Compilations / omnibus compilations, #10 (push) Has been skipped
Windows / Windows 11-arm/Visual C++ (btest test-basic test-tool) (push) Waiting to run
Windows / Windows 2022/Visual C++ 2022 (check) (push) Waiting to run
Windows / Windows 2025/Visual C++ 2022 (check) (push) Waiting to run
Windows / Windows 2025/Visual C++ 2022 (test-bundled-gems) (push) Waiting to run
Windows / result (push) Blocked by required conditions
Ubuntu on WSL / wsl (push) Waiting to run
BASERUBY Check / BASERUBY (push) Failing after 53s
Compilations / omnibus compilations, trigger (push) Failing after 53s
Update default gems list / Update default gems list (push) Has been skipped
parse.y / make (check) (push) Failing after 56s
Compilations / omnibus compilations, #4 (push) Has been skipped
Compilations / omnibus compilations, #5 (push) Has been skipped
Compilations / omnibus compilations, #7 (push) Has been skipped
Compilations / omnibus compilations, #8 (push) Has been skipped
Compilations / omnibus compilations, #9 (push) Has been skipped
Compilations / omnibus compilations, #11 (push) Has been skipped
Compilations / omnibus compilations, #12 (push) Has been skipped
Compilations / omnibus compilations, result (push) Successful in 1m0s
Some checks failed
Cygwin / make (push) Waiting to run
MinGW / (UCRT64) (push) Waiting to run
Annocheck / test-annocheck (push) Failing after 1m2s
Check Dependencies / Dependency checks (push) Failing after 58s
Misc / Miscellaneous checks (push) Failing after 1m0s
CodeQL / Analyze (push) Failing after 56s
parse.y / make (test-bundled-gems) (push) Failing after 57s
parse.y / make (test-bundler-parallel) (push) Failing after 55s
WebAssembly / make (map[debugflags: name:O2 optflags:-O2 wasmoptflags:-O2]) (push) Failing after 53s
Compilations / omnibus compilations, #1 (push) Has been skipped
Compilations / omnibus compilations, #2 (push) Has been skipped
Compilations / omnibus compilations, #3 (push) Has been skipped
Compilations / omnibus compilations, #6 (push) Has been skipped
Compilations / omnibus compilations, #10 (push) Has been skipped
Windows / Windows 11-arm/Visual C++ (btest test-basic test-tool) (push) Waiting to run
Windows / Windows 2022/Visual C++ 2022 (check) (push) Waiting to run
Windows / Windows 2025/Visual C++ 2022 (check) (push) Waiting to run
Windows / Windows 2025/Visual C++ 2022 (test-bundled-gems) (push) Waiting to run
Windows / result (push) Blocked by required conditions
Ubuntu on WSL / wsl (push) Waiting to run
BASERUBY Check / BASERUBY (push) Failing after 53s
Compilations / omnibus compilations, trigger (push) Failing after 53s
Update default gems list / Update default gems list (push) Has been skipped
parse.y / make (check) (push) Failing after 56s
Compilations / omnibus compilations, #4 (push) Has been skipped
Compilations / omnibus compilations, #5 (push) Has been skipped
Compilations / omnibus compilations, #7 (push) Has been skipped
Compilations / omnibus compilations, #8 (push) Has been skipped
Compilations / omnibus compilations, #9 (push) Has been skipped
Compilations / omnibus compilations, #11 (push) Has been skipped
Compilations / omnibus compilations, #12 (push) Has been skipped
Compilations / omnibus compilations, result (push) Successful in 1m0s
This commit is contained in:
parent
cb281653ad
commit
c8233db221
1 changed files with 9 additions and 5 deletions
|
@ -8,11 +8,15 @@ ENV.delete("GNUMAKEFLAGS")
|
||||||
|
|
||||||
github_actions = ENV["GITHUB_ACTIONS"] == "true"
|
github_actions = ENV["GITHUB_ACTIONS"] == "true"
|
||||||
|
|
||||||
|
DEFAULT_ALLOWED_FAILURES = RUBY_PLATFORM =~ /mswin|mingw/ ? [
|
||||||
|
'rbs',
|
||||||
|
'debug',
|
||||||
|
'irb',
|
||||||
|
'power_assert',
|
||||||
|
'net-imap',
|
||||||
|
] : []
|
||||||
allowed_failures = ENV['TEST_BUNDLED_GEMS_ALLOW_FAILURES'] || ''
|
allowed_failures = ENV['TEST_BUNDLED_GEMS_ALLOW_FAILURES'] || ''
|
||||||
if RUBY_PLATFORM =~ /mswin|mingw/
|
allowed_failures = allowed_failures.split(',').concat(DEFAULT_ALLOWED_FAILURES).uniq.reject(&:empty?)
|
||||||
allowed_failures = [allowed_failures, "rbs,debug,irb,power_assert"].join(',')
|
|
||||||
end
|
|
||||||
allowed_failures = allowed_failures.split(',').uniq.reject(&:empty?)
|
|
||||||
|
|
||||||
# make test-bundled-gems BUNDLED_GEMS=gem1,gem2,gem3
|
# make test-bundled-gems BUNDLED_GEMS=gem1,gem2,gem3
|
||||||
bundled_gems = ARGV.first || ''
|
bundled_gems = ARGV.first || ''
|
||||||
|
@ -113,7 +117,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
|
||||||
"with exit code #{$?.exitstatus}")
|
"with exit code #{$?.exitstatus}")
|
||||||
puts colorize.decorate(mesg, "fail")
|
puts colorize.decorate(mesg, "fail")
|
||||||
if allowed_failures.include?(gem)
|
if allowed_failures.include?(gem)
|
||||||
mesg = "Ignoring test failures for #{gem} due to \$TEST_BUNDLED_GEMS_ALLOW_FAILURES"
|
mesg = "Ignoring test failures for #{gem} due to \$TEST_BUNDLED_GEMS_ALLOW_FAILURES or DEFAULT_ALLOWED_FAILURES"
|
||||||
puts colorize.decorate(mesg, "skip")
|
puts colorize.decorate(mesg, "skip")
|
||||||
else
|
else
|
||||||
failed << gem
|
failed << gem
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue