Skip to content

Commit

Permalink
Add jruby to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jkowens committed Sep 3, 2023
1 parent 3c8ecde commit a40b4f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- ruby: 2.7
env:
AR_VERSION: '7.0'
- ruby: jruby
env:
AR_VERSION: '6.1'
- ruby: 2.7
env:
AR_VERSION: 6.1
Expand Down Expand Up @@ -81,20 +84,11 @@ jobs:
cp test/github/database.yml test/database.yml
env:
PGPASSWORD: postgres
- name: Run tests with mysql2
run: |
bundle exec rake test:mysql2
bundle exec rake test:mysql2_makara
bundle exec rake test:mysql2spatial
- name: Run tests with postgresql
run: |
bundle exec rake test:postgis
bundle exec rake test:postgresql
bundle exec rake test:postgresql_makara
- name: Run tests with seamless_database_pool
run: |
bundle exec rake test:seamless_database_pool
if: ${{ matrix.ruby < '3.0' }}
- name: Run tests with sqlite
run: |
bundle exec rake test:spatialite
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/6.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true

gem 'activerecord', '~> 6.1.0'
gem 'composite_primary_keys', '~> 13.0'
#gem 'composite_primary_keys', '~> 13.0'

0 comments on commit a40b4f0

Please sign in to comment.