Skip to content

add test and fixes to get_*_by functions #215

add test and fixes to get_*_by functions

add test and fixes to get_*_by functions #215

Status Failure
Total duration 1m 24s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build_and_test: test/contexted/crud/get_by_test.exs#L18
test get_*_by/1 get_item_by(name: "Item 1.1.1", preload: :subcategory) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L42
test get_*_by/1 get_item_by(from(i in Item, where: i.serial_number == "nonexistent")) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L78
test get_*_by!/1 get_item_by!(from(i in Item, where: i.serial_number == "nonexistent")) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L104
test get_*_by!/2 get_item_by!(from(i in Item, where: like(i.name, "Item 1.1.%") and i.serial_number == "1234567890"), preload: [subcategory: :category]) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L13
test get_*_by/1 get_item_by(name: "Item 1.1.1") (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L86
test get_*_by/2 get_item_by(from(i in Item, where: like(i.name, "Item 1.1.%") and i.serial_number == "1234567890"), preload: [subcategory: :category]) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L23
test get_*_by/1 get_item_by(name: "Item 1.1.1", preload: [subcategory: :category]) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L59
test get_*_by!/1 get_item_by!(name: "Item 1.1.1", preload: [subcategory: :category]) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L69
test get_*_by!/1 get_item_by!(from(i in Item, where: like(i.name, "Item 1.1.%") and i.serial_number == "1234567890")) (Contexted.CRUD.GetByTest)
build_and_test: test/contexted/crud/get_by_test.exs#L33
test get_*_by/1 get_item_by(from(i in Item, where: like(i.name, "Item 1.1.%") and i.serial_number == "1234567890")) (Contexted.CRUD.GetByTest)
build_and_test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down