Run Tests #109
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Tests | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: ['2.7', '3.2', '3.3'] | |
| appraisal: ["rails-6", "rails-7"] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setup System | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install libsqlite3-dev | |
| - name: Set up Ruby ${{ matrix.ruby }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Build and test with Rake (Ruby 2.7 only) | |
| if: ${{ matrix.ruby == '2.7' }} | |
| run: | | |
| gem install bundler -v 2.4.22 | |
| bundle install --jobs 4 --retry 3 | |
| bundle exec appraisal install | |
| bundle exec appraisal ${{ matrix.appraisal }} rake | |
| - name: Build and test with Rake (Ruby 3.2+ only) | |
| if: ${{ matrix.ruby != '2.7' }} | |
| run: | | |
| gem install bundler | |
| bundle install --jobs 4 --retry 3 | |
| bundle exec appraisal install | |
| bundle exec appraisal ${{ matrix.appraisal }} rake |