Skip to content

update docs for get and list functions #218

update docs for get and list functions

update docs for get and list functions #218

Status Failure
Total duration 1m 34s
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_test.exs#L17
test get/1 returns the resource with subcategory preload (Contexted.CRUD.GetTest)
build_and_test: test/contexted/crud/get_test.exs#L13
test get/1 returns the resource (Contexted.CRUD.GetTest)
build_and_test: test/contexted/crud/get_test.exs#L41
test get/1 returns nil if the resource does not exist (Contexted.CRUD.GetTest)
build_and_test: test/contexted/crud/get_test.exs#L24
test get/1 returns the resource with subcategory and category preloads (Contexted.CRUD.GetTest)
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#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#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#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#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