Automatic RSpec Sharding on GitHub Actions

· Daniel Doubrovkine (dB.) @dblockdotorg · Nov. 19, 2026, 1:52 p.m.
Summary
This blog post discusses how to optimize running RSpec tests in a Rails application using GitHub Actions by implementing automatic sharding based on previous test timings. It details the use of the `parallel_tests-ci` gem to reduce test execution time significantly and provides instructions on setting it up in workflow configuration.