Skip to content

Commit

Permalink
Merge pull request #258 from KnapsackPro/update-changelog-simplecov
Browse files Browse the repository at this point in the history
update(changelog): add breaking change info for 6.0.4 version for simplecov and Minitest in Queue Mode users
  • Loading branch information
ArturT authored Jun 5, 2024
2 parents 64241f8 + 8e73495 commit 67c0cec
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,34 @@ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v6.0.4...v7.0.0

https://github.com/KnapsackPro/knapsack_pro-ruby/pull/236

__(breaking change)__ for SimpleCov and Minitest in Knapsack Pro Queue Mode users.

Please add the following to your configuration:

```ruby
KnapsackPro::Hooks::Queue.after_queue do
SimpleCov.result.format!
end
```

The full example:

```ruby
# test/test_helper.rb
require 'knapsack_pro'
require 'simplecov'
SimpleCov.start
KnapsackPro::Hooks::Queue.before_queue do |queue_id|
SimpleCov.command_name("minitest_ci_node_#{KnapsackPro::Config::Env.ci_node_index}")
end
KnapsackPro::Hooks::Queue.after_queue do
SimpleCov.result.format!
end
```

https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v6.0.3...v6.0.4

### 6.0.3
Expand Down

0 comments on commit 67c0cec

Please sign in to comment.