File tree Expand file tree Collapse file tree 3 files changed +33
-10
lines changed
Expand file tree Collapse file tree 3 files changed +33
-10
lines changed Original file line number Diff line number Diff line change @@ -19,30 +19,48 @@ jobs:
1919 - ruby : " head"
2020 activerecord : " head"
2121 database : sqlite
22+ - ruby : " 3.4"
23+ activerecord : " 8.0"
24+ database : postgresql
25+ - ruby : " 3.4"
26+ activerecord : " 8.0"
27+ database : mysql
28+ - ruby : " 3.4"
29+ activerecord : " 8.0"
30+ database : sqlite
2231 - ruby : " 3.3"
23- activerecord : " 7.1 "
32+ activerecord : " 7.2 "
2433 database : postgresql
2534 - ruby : " 3.3"
26- activerecord : " 7.1 "
35+ activerecord : " 7.2 "
2736 database : mysql
2837 - ruby : " 3.3"
29- activerecord : " 7.1 "
38+ activerecord : " 7.2 "
3039 database : sqlite
3140 - ruby : " 3.2"
32- activerecord : " 7.0"
41+ activerecord : " 7.1"
42+ database : postgresql
43+ - ruby : " 3.2"
44+ activerecord : " 7.1"
45+ database : mysql
46+ - ruby : " 3.2"
47+ activerecord : " 7.1"
3348 database : sqlite
3449 - ruby : " 3.1"
35- activerecord : " 6.1 "
50+ activerecord : " 7.0 "
3651 database : sqlite
3752 - ruby : " 3.0"
53+ activerecord : " 6.1"
54+ database : sqlite
55+ - ruby : " 2.7"
3856 activerecord : " 6.0"
3957 database : sqlite
4058
4159 runs-on : ubuntu-latest
4260
4361 services :
4462 postgres :
45- image : postgres:16
63+ image : ${{ (matrix.database == 'postgresql') && ' postgres:17' || '' }}
4664 env :
4765 POSTGRES_USER : postgres
4866 POSTGRES_PASSWORD : postgres
5472 --health-timeout 5s
5573 --health-retries 5
5674 mysql :
57- image : mysql:8.4
75+ image : ${{ (matrix.database == ' mysql') && 'mysql:9' || '' }}
5876 env :
5977 MYSQL_ALLOW_EMPTY_PASSWORD : yes
6078 MYSQL_DATABASE : evil_seed_test
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ source 'https://rubygems.org'
55# Specify your gem's dependencies in evil-seed.gemspec
66gemspec
77
8- activerecord_version = ENV . fetch ( "ACTIVERECORD_VERSION" , "~> 7.1 " )
8+ activerecord_version = ENV . fetch ( "ACTIVERECORD_VERSION" , "~> 8.0 " )
99case activerecord_version . upcase
1010when "HEAD"
1111 git "https://github.com/rails/rails.git" do
@@ -15,5 +15,10 @@ when "HEAD"
1515else
1616 activerecord_version = "~> #{ activerecord_version } .0" if activerecord_version . match? ( /^\d +\. \d +$/ )
1717 gem "activerecord" , activerecord_version
18- gem "sqlite3" , "~> 1.4"
18+ if Gem ::Version . new ( "7.2" ) > Gem ::Version . new ( activerecord_version . scan ( /\d +\. \d +/ ) . first )
19+ gem "sqlite3" , "~> 1.4"
20+ gem "concurrent-ruby" , "< 1.3.5"
21+ end
1922end
23+
24+ gem "debug"
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33require 'test_helper'
4-
4+ require 'debug'
55class EvilSeedTest < Minitest ::Test
66 def setup
77 EvilSeed . configure do |config |
You can’t perform that action at this time.
0 commit comments