Add a summary at the end of RSpec CI/CD jobs about expected/actual times differences
Context
We display expected times specs should take at the beginning of the job, and actual times they took at the end of the job (when the job doesn't time out that is).
I often found myself wondering which specs were contributing the most to the delays, so I have to manually compute the difference between the expected and actual times that spec files took.
Goal
At the end of the job, for each spec file, display the absolute difference between the expected time and the actual time, in seconds and as a percentage.
Edited by David Dieulivol