Skip to content

test(fix): resolve issues with credo, dialyzer and formatting after u… #1130

test(fix): resolve issues with credo, dialyzer and formatting after u…

test(fix): resolve issues with credo, dialyzer and formatting after u… #1130

Triggered via push December 2, 2024 21:28
Status Failure
Total duration 9m 33s
Artifacts

main.yml

on: push
Generate project documentation
0s
Generate project documentation
Release
0s
Release
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 17 warnings
Run tests: test/epochtalk_server_web/controllers/user_test.exs#L313
test logout/1 when not logged in, errors (Test.EpochtalkServerWeb.Controllers.User)
Run tests: test/epochtalk_server_web/controllers/thread_test.exs#L64
test by_board/2 given an id for nonexistant board, does not get threads (Test.EpochtalkServerWeb.Controllers.Thread)
Run tests
Process completed with exit code 2.
dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
dependencies
62..@dynamic_table_start + length - 1 inside guards requires an explicit step, please write 62..@dynamic_table_start + length - 1//1 or 62..@dynamic_table_start + length - 1//-1 instead
dependencies
5..1 has a default step of -1, please write 5..1//-1 instead
dependencies
~R/.../ is deprecated, use ~r/.../ instead
dependencies
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
Run tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run tests
62..@dynamic_table_start + length - 1 inside guards requires an explicit step, please write 62..@dynamic_table_start + length - 1//1 or 62..@dynamic_table_start + length - 1//-1 instead
Run tests
5..1 has a default step of -1, please write 5..1//-1 instead
Run tests
~R/.../ is deprecated, use ~r/.../ instead
Run tests
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
Run tests: lib/epochtalk_server/models/mention.ex#L168
2..-1 has a default step of -1, please write 2..-1//-1 instead
Run tests: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `posts` in schema EpochtalkServer.Models.ImageReference: :join_through schema PostImageReference does not exist
Run tests: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `profiles` in schema EpochtalkServer.Models.ImageReference: :join_through schema ProfileImageReference does not exist
static_code_analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
static_code_analysis: lib/epochtalk_server/models/mention.ex#L168
2..-1 has a default step of -1, please write 2..-1//-1 instead
static_code_analysis: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `posts` in schema EpochtalkServer.Models.ImageReference: :join_through schema PostImageReference does not exist
static_code_analysis: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `profiles` in schema EpochtalkServer.Models.ImageReference: :join_through schema ProfileImageReference does not exist