diff --git a/test/helpers/misc.rb b/test/helpers/misc.rb index 16a1d14945..4571dfee22 100644 --- a/test/helpers/misc.rb +++ b/test/helpers/misc.rb @@ -131,11 +131,9 @@ def skip_unless_ci_cron skip 'This test only runs as part of the CI cron workflow' end -# If in a CI (non local dev) context, skip unless operating within the -# special CI context. When in a local dev context or in a special CI context, -# permit the test(s) to run. +# skip unless operating within the special CI context def skip_unless_special_ci - return if ENV.fetch('CI', nil).nil? || ENV.fetch('SPECIAL_CI', nil) + return if ENV.fetch('SPECIAL_CI', nil) skip 'This test only runs as part of the special CI workflow' end