Skip to content

Commit

Permalink
More testing of ci
Browse files Browse the repository at this point in the history
  • Loading branch information
edk committed Feb 23, 2024
1 parent d4da352 commit 54191fd
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,30 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [3.1, 3.3]
rails: ['rails-7', 'rails-main']
ruby: [3.0 3.3]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install Appraisal
run: gem install appraisal


- name: Install Dependencies
run: |
bundle install --jobs 4 --retry 3
appraisal install
- name: Test against Rails versions
- name: Test against rails main
if: ${{ matrix.ruby == 3.3 }}
run: |
bundle exec appraisal rails-main bundle install
bundle exec appraisal rails-main rake test
- name: Test against rails 6.0
run: |
bundle exec appraisal rails-7 bundle install
bundle exec appraisal rails-7 rake test
- name: Test against rails 5.2
run: |
bundle exec appraisal ${{ matrix.rails }} rake test
bundle exec appraisal rails-6 bundle install
bundle exec appraisal rails-6 rake test

0 comments on commit 54191fd

Please sign in to comment.