Skip to content

Commit aa8c747

Browse files
esrakartalOptclaude
andcommitted
[FSSDK-13070] Guard Coveralls loading behind env var to fix test suite
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3072c8b commit aa8c747

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎spec/spec_helper.rb‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18-
require 'coveralls'
19-
Coveralls.wear!
18+
if ENV['COVERALLS_REPO_TOKEN']
19+
require 'coveralls'
20+
Coveralls.wear!
21+
end
2022
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
2123
require 'optimizely'
2224
require 'spec_params'

0 commit comments

Comments
 (0)