Skip to content

Commit b86ecbb

Browse files
author
spicychickensauce
committed
Do not run :values_list tests on elixir 1.15
1 parent 3183b70 commit b86ecbb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

integration_test/test_helper.exs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,14 @@ excludes = [
127127
# SQLite does not support anything except a single column in DISTINCT
128128
:multicolumn_distinct,
129129

130-
# Run all with tag values_list, except for the "delete_all" test,
131-
# as JOINS are not supported on DELETE statements by SQLite.
132-
{:location, {"ecto/integration_test/cases/repo.exs", 2281}}
130+
# :location is not supported in elixir 1.15 and earlier, so we exclude all
131+
if Version.match?(System.version(), "~> 1.16") do
132+
# Run all with tag values_list, except for the "delete_all" test,
133+
# as JOINS are not supported on DELETE statements by SQLite.
134+
{:location, {"ecto/integration_test/cases/repo.exs", 2281}}
135+
else
136+
:values_list
137+
end
133138
]
134139

135140
ExUnit.configure(exclude: excludes)

0 commit comments

Comments
 (0)