0
0
Fork 0

Fix duplicate github annotations for rspec failures (#27450)

This commit is contained in:
Claire 2023-10-18 10:18:34 +02:00 committed by GitHub
parent 5ef26d8fd5
commit e9dc30cdba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,7 @@ RSpec.configure do |config|
end
# Use the GitHub Annotations formatter for CI
if ENV['GITHUB_ACTIONS'] == 'true'
if ENV['GITHUB_ACTIONS'] == 'true' && ENV['GITHUB_RSPEC'] == 'true'
require 'rspec/github'
config.add_formatter RSpec::Github::Formatter
end