Skip to content

Commit

Permalink
Don't test AR 7.2 on Ruby 3.0 (not supported)
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Hollinger <[email protected]>
  • Loading branch information
jhollinger committed Sep 4, 2024
1 parent 824137d commit f156161
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
permissions:
contents: read
jobs:
test:
test-current:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ["3.0", "3.1", "3.2", "3.3"]
ruby: ["3.1", "3.2", "3.3"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
Expand All @@ -26,3 +26,28 @@ jobs:
bundle exec appraisal install --path=vendor/bundle
- name: Run tests
run: bundle exec appraisal rake test

test-3_0:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ["3.0"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Installing dependencies
run: |
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle
bundle exec appraisal ar-6.1 bundle install --path=vendor/bundle
bundle exec appraisal ar-7.0 bundle install --path=vendor/bundle
bundle exec appraisal ar-7.1 bundle install --path=vendor/bundle
- name: Run tests
run: |
bundle exec appraisal ar-6.1 rake test
bundle exec appraisal ar-7.0 rake test
bundle exec appraisal ar-7.1 rake test

0 comments on commit f156161

Please sign in to comment.