Skip to content

test: remove unneeded match?/2 calls and instead use = operator #349

test: remove unneeded match?/2 calls and instead use = operator

test: remove unneeded match?/2 calls and instead use = operator #349

Triggered via pull request November 12, 2024 12:27
Status Failure
Total duration 26m 12s
Artifacts

elixir.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 34 warnings
Run tests: test/integration/proxy_test.exs#L126
test select (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L69
test insert (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L133
test update (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L76
test query via another node (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L245
test change role password (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L150
test delete (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L35
test prepared statement (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L198
test checks that client_handler is idle and db_pid is nil for transaction mode (Supavisor.Integration.ProxyTest)
Run tests
Process completed with exit code 2.
Code style: test/support/asserts.ex#L1
Modules should have a @moduledoc tag.
Code style: lib/supavisor/helpers.ex#L374
Line is too long (max is 120, was 220).
Code style: lib/supavisor/client_handler.ex#L337
Function body is nested too deep (max depth is 2, was 4).
Code style: lib/supavisor/db_handler.ex#L128
Function body is nested too deep (max depth is 2, was 3).
Code style: lib/supavisor/client_handler.ex#L278
Function body is nested too deep (max depth is 2, was 3).
Code style: lib/supavisor.ex#L298
Function body is nested too deep (max depth is 2, was 3).
Code style: lib/supavisor_web/controllers/tenant_controller.ex#L138
Function body is nested too deep (max depth is 2, was 4).
Code style: lib/supavisor/helpers.ex#L63
Function body is nested too deep (max depth is 2, was 4).
Code style: lib/supavisor/syn_handler.ex#L60
Function body is nested too deep (max depth is 2, was 3).
Code style: lib/supavisor/native_handler.ex#L173
Function body is nested too deep (max depth is 2, was 3).
Code style
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Code style
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Code style
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Code style
Mix.Config.eval!/2 is deprecated. Use Config.Reader.read_imports!/2 instead
Code style
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Code style
Mix.Config.persist/1 is deprecated. Use Application.put_all_env/2 instead
Code style
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter.Behaviour.Schema)
Code style
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter)
Run tests
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Run tests
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Run tests
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Run tests
Mix.Config.eval!/2 is deprecated. Use Config.Reader.read_imports!/2 instead
Run tests
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Run tests
Mix.Config.persist/1 is deprecated. Use Application.put_all_env/2 instead
Run tests
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter.Behaviour.Schema)
Run tests
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter)
Dialyze
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Dialyze
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Dialyze
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Dialyze
Mix.Config.eval!/2 is deprecated. Use Config.Reader.read_imports!/2 instead
Dialyze
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Dialyze
Mix.Config.persist/1 is deprecated. Use Application.put_all_env/2 instead
Dialyze
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter.Behaviour.Schema)
Dialyze
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter)