Skip to content

Commit f1049aa

Browse files
committed
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.
1 parent c7e5dbe commit f1049aa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bootstraptest/test_ractor.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,8 @@
214214
###
215215
###
216216
# Ractor still has several memory corruption so skip huge number of tests
217-
if ENV['GITHUB_WORKFLOW'] &&
218-
(ENV['GITHUB_WORKFLOW'] == 'Compilations' ||
219-
ENV['GITHUB_WORKFLOW'] == 'ModGC')
220-
# ignore the follow
217+
if ENV['GITHUB_WORKFLOW'] == 'Compilations' || ENV['GITHUB_WORKFLOW'] == 'ModGC'
218+
# ignore the follow
221219
else
222220

223221
# Ractor.select(*ractors) receives a values from a ractors.

0 commit comments

Comments
 (0)