Skip to content

Commit

Permalink
Run trilogy tests with mariadb and mysql 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Aug 4, 2023
1 parent b7a8e9e commit f1d9b6f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pipeline-generate
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,12 @@ step_for("activerecord", "mysql2:test", service: "mysqldb") do |x|
x["label"] += " [mysql_5_7]"
x["env"]["MYSQL_IMAGE"] = "mysql:5.7"
end
if RAILS_VERSION >= Gem::Version.new("7.1.0.alpha")
step_for("activerecord", "trilogy:test", service: "mysqldb") do |x|
x["label"] += " [mysql_5_7]"
x["env"]["MYSQL_IMAGE"] = "mysql:5.7"
end
end
if RAILS_VERSION >= Gem::Version.new("5.x")
step_for("activerecord", "mysql2:test", service: "mysqldb") do |x|
x["label"] += " [mariadb]"
Expand All @@ -299,6 +305,12 @@ if RAILS_VERSION >= Gem::Version.new("5.x")
end
end
end
if RAILS_VERSION >= Gem::Version.new("7.1.0.alpha")
step_for("activerecord", "trilogy:test", service: "mysqldb") do |x|
x["label"] += " [mariadb]"
x["env"]["MYSQL_IMAGE"] = "mariadb:latest"
end
end
steps_for("actioncable", "test:integration", service: "default") do |x|
if RAILS_VERSION < Gem::Version.new("6.x")
x["soft_fail"] = true
Expand Down

0 comments on commit f1d9b6f

Please sign in to comment.