Don't check for presence of ENV['GITHUB_WORKFLOW']

We already check whether `ENV['GITHUB_WORKFLOW']` is equal to `Compilations`,
so we don't need to check that it's not nil.
This commit is contained in:
Peter Zhu 2025-01-09 14:34:07 -05:00
parent c7e5dbe1d8
commit f1049aa55d
Notes: git 2025-01-10 15:17:38 +00:00

View File

@ -214,10 +214,8 @@ assert_equal '[:a, :b, :c, :d, :e, :f, :g]', %q{
### ###
### ###
# Ractor still has several memory corruption so skip huge number of tests # Ractor still has several memory corruption so skip huge number of tests
if ENV['GITHUB_WORKFLOW'] && if ENV['GITHUB_WORKFLOW'] == 'Compilations' || ENV['GITHUB_WORKFLOW'] == 'ModGC'
(ENV['GITHUB_WORKFLOW'] == 'Compilations' || # ignore the follow
ENV['GITHUB_WORKFLOW'] == 'ModGC')
# ignore the follow
else else
# Ractor.select(*ractors) receives a values from a ractors. # Ractor.select(*ractors) receives a values from a ractors.