Skip to content

Commit

Permalink
Instruction how to use the rails matrix locally (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavSokov authored Jun 14, 2024
1 parent 2ad32c2 commit 2cc7cdf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,26 @@ To release a new version do the following in the order:
- make the commit and push;
- run `bundle exec rake release`. This will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).

### Running Tests with Specific Rails Versions

The following versions can be specifically tested using Appraisal
- 6.0
- 6.1
- 7.0
- 7.1
- edge

To run tests with a specific version of Rails using Appraisal:
- Run all tests with Rails 6.0:
```sh
bundle exec appraisal rails.6.0 rake test
- Run tests for a specific file:
```sh
bundle exec appraisal rails.6.0 rake test TEST=test/rake_task_test.rb
- Run a specific test:
```sh
bundle exec appraisal rails.6.0 rake test TEST=test/rake_task_test.rb TESTOPTS="--name=/db::db:rollback_branches#test_0003_keeps/"

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/widefix/actual_db_schema. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/widefix/actual_db_schema/blob/master/CODE_OF_CONDUCT.md).
Expand Down

0 comments on commit 2cc7cdf

Please sign in to comment.