diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-01-09 14:34:07 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-01-10 10:17:16 -0500 |
| commit | f1049aa55d2cd41b5ddeb3ffafe157d41a0335bc (patch) | |
| tree | 4c2dd5f44affbdb2c9a61ee01257c476aeacb779 | |
| parent | c7e5dbe1d831ed5e894b6c158d06e80968291249 (diff) | |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12543
| -rw-r--r-- | bootstraptest/test_ractor.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb index b126a69128..0f193bfe8e 100644 --- a/bootstraptest/test_ractor.rb +++ b/bootstraptest/test_ractor.rb @@ -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 -if ENV['GITHUB_WORKFLOW'] && - (ENV['GITHUB_WORKFLOW'] == 'Compilations' || - ENV['GITHUB_WORKFLOW'] == 'ModGC') - # ignore the follow +if ENV['GITHUB_WORKFLOW'] == 'Compilations' || ENV['GITHUB_WORKFLOW'] == 'ModGC' + # ignore the follow else # Ractor.select(*ractors) receives a values from a ractors. |
