Test against multiple Rails versions using Appraisal
masterThis project uses the Appraisal gem to manage testing across multiple Rails versions. The version matrix is defined in the Appraisals file, and specific gemfiles are generated in the gemfiles/ directory.
Use bundle exec appraisal [version] [command] to run tests against a specific version, or run bundle exec appraisal [command] to run the command against all defined versions in the matrix.
# Run against a specific Rails version
bundle exec appraisal rails-8-0 bin/rails test
# Run against all Rails versions
bundle exec appraisal bin/rails test
# Regenerate gemfiles after changing the Appraisals file
bundle exec appraisal install