espec
espec copied to clipboard
Update CI for Elixir 1.19.1
- Also, update credo due to error: "could not compile dependency :credo, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile credo --force", update it with "mix deps.update credo" or clean it with "mix deps.clean credo"
Just making a related note wrt the CI failure. Locally, if I run mix test --seed 715375, I get failing test approx every other test run at test/assertions/enum/have_min_by_test.exs:28
The IO.inspect(...) output of context[:success] is:
%ESpec.Example{
description: "",
module: Enum.HaveMinByTest.SomeSpec,
function: :example__qerkzmcsgopiujfhvdyatnblwx,
opts: [],
file: "/espec/test/assertions/enum/have_min_by_test.exs",
line: 11,
context: [
%ESpec.Context{
description: "Enum.HaveMinByTest.SomeSpec",
module: Enum.HaveMinByTest.SomeSpec,
line: 5,
opts: []
},
%ESpec.Let{
var: :range,
module: Enum.HaveMinByTest.SomeSpec,
function: :let_xlakchwvebisgurypotqzndfmj,
shared: false,
shared_module: Enum.HaveMinByTest.SomeSpec
},
%ESpec.Let{
var: :func,
module: Enum.HaveMinByTest.SomeSpec,
function: :let_wmltoifncbgxqehyukdrvzsapj,
shared: false,
shared_module: Enum.HaveMinByTest.SomeSpec
},
%ESpec.Context{
description: "Success",
module: Enum.HaveMinByTest.SomeSpec,
line: 10,
opts: []
}
],
shared: false,
status: :failure,
result: nil,
error: %ESpec.AssertionError{
subject: nil,
data: nil,
result: nil,
assertion: nil,
message: "** (RuntimeError) An exception\n test/configuration/config_finally_error_test.exs:12: anonymous fn/0 in ConfigFinallyRaiseTest.__ex_unit_setup_all_0/1\n (espec 1.10.0) lib/espec/example_runner.ex:196: anonymous fn/3 in ESpec.ExampleRunner.run_config_finally/2\n (espec 1.10.0) lib/espec/example_runner.ex:205: ESpec.ExampleRunner.call_with_rescue/2\n (espec 1.10.0) lib/espec/example_runner.ex:91: ESpec.ExampleRunner.try_run/3\n (espec 1.10.0) lib/espec/example_runner.ex:56: ESpec.ExampleRunner.run_example/2\n (elixir 1.19.1) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2\n (elixir 1.19.1) lib/task/supervised.ex:40: Task.Supervised.reply/4\n",
extra: nil,
stacktrace: nil
},
duration: 6
}
]