Skip to content

Drop legacy dependencies support #65

Drop legacy dependencies support

Drop legacy dependencies support #65

Workflow file for this run

name: Tests
on: [push, pull_request]
permissions:
contents: read
jobs:
test-27-plus:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{matrix.gemfile}}
strategy:
matrix:
ruby:
- "3.3"
- "3.2"
- "3.1"
- "3.0"
- "2.7"
gemfile:
- gemfiles/ar72.gemfile
- gemfiles/ar71.gemfile
- gemfiles/ar70.gemfile
- gemfiles/rgeo3.gemfile
- gemfiles/rgeo1.gemfile
channel: ['stable']
include:
# Test legacy AR 5.x/6.x series
- ruby: '2.7'
gemfile: gemfiles/ar50.gemfile
channel: 'stable'
- ruby: '2.7'
gemfile: gemfiles/ar51.gemfile
channel: 'stable'
- ruby: '2.7'
gemfile: gemfiles/ar52.gemfile
channel: 'stable'
- ruby: '2.7'
gemfile: gemfiles/ar60.gemfile
channel: 'stable'
- ruby: '2.7'
gemfile: gemfiles/ar61.gemfile
channel: 'stable'
- ruby: '3.0'
gemfile: gemfiles/ar60.gemfile
channel: 'stable'
- ruby: '3.0'
gemfile: gemfiles/ar61.gemfile
channel: 'stable'
- ruby: '3.1'
gemfile: gemfiles/ar61.gemfile
channel: 'stable'
# Test against Ruby head
- ruby: head
gemfile: gemfiles/ar71.gemfile
channel: 'experimental'
- ruby: head
gemfile: gemfiles/rgeo3.gemfile
channel: 'experimental'
exclude:
- ruby: '2.7'
gemfile: gemfiles/ar72.gemfile
- ruby: '3.0'
gemfile: gemfiles/ar72.gemfile
continue-on-error: ${{ matrix.channel != 'stable' }}
steps:
- name: Set Up Gems
uses: actions/checkout@v4
- name: Set Up Deps
run: sudo apt-get install libgeos-dev
- name: Set Up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
run: bundle exec rake
test-26-lower:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{matrix.gemfile}}
strategy:
matrix:
ruby:
- "jruby-9.3.7.0"
- "2.6"
gemfile:
- gemfiles/ar50.gemfile
- gemfiles/ar51.gemfile
- gemfiles/ar52.gemfile
- gemfiles/ar60.gemfile
- gemfiles/ar61.gemfile
- gemfiles/rgeo1.gemfile
steps:
- name: Set Up Gems
uses: actions/checkout@v4
- name: Set Up Deps
run: sudo apt-get install libgeos-dev
- name: Set Up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
run: bundle exec rake