Skip to content

value generator + test #344

value generator + test

value generator + test #344

Triggered via pull request August 22, 2025 07:45
Status Failure
Total duration 3m 22s
Artifacts 1

elixir.yml

on: pull_request
Block when forbidden label is present
3s
Block when forbidden label is present
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 27 warnings
Run Tests
Process completed with exit code 2.
Run Tests: test/astarte/core/generators/mapping/value_test.exs#L130
property value generator generates valid value based on aggregation (Astarte.Core.Generators.Mapping.ValueTest)
Run Tests: test/astarte/core/generators/mapping/value_test.exs#L165
property value generator check field is present in object field (aggregation :object) (Astarte.Core.Generators.Mapping.ValueTest)
Run Tests: test/astarte/core/generators/mapping/value_test.exs#L124
property value generator generates value based on interface (Astarte.Core.Generators.Mapping.ValueTest)
Run Tests: test/astarte/core/generators/mapping/value_test.exs#L139
property value generator generates values for the correct endpoint for :individual interfaces (Astarte.Core.Generators.Mapping.ValueTest)
Setup
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Setup
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Setup
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Setup
unused alias TriggerTargetContainer
Setup
unused alias AMQPTriggerTarget
Setup
CAStore.file_path/0 is undefined (module CAStore is not available or is yet to be defined)
Setup
use Bitwise is deprecated. import Bitwise instead
Run Tests: lib/astarte/core/generators/mapping/value.ex#L88
function build_value/2 is unused
Run Tests: lib/astarte/core/generators/mapping/value.ex#L67
variable "interface" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run Tests: lib/astarte/core/generators/mapping/value.ex#L64
variable "interface" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run Tests
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Run Tests
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Run Tests
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Run Tests
unused alias TriggerTargetContainer
Run Tests
unused alias AMQPTriggerTarget
Run Tests
CAStore.file_path/0 is undefined (module CAStore is not available or is yet to be defined)
Run Tests
use Bitwise is deprecated. import Bitwise instead
Run Dialyzer: lib/astarte/core/generators/mapping/value.ex#L88
function build_value/2 is unused
Run Dialyzer: lib/astarte/core/generators/mapping/value.ex#L67
variable "interface" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run Dialyzer: lib/astarte/core/generators/mapping/value.ex#L64
variable "interface" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run Dialyzer
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Run Dialyzer
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Run Dialyzer
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Run Dialyzer
unused alias TriggerTargetContainer
Run Dialyzer
unused alias AMQPTriggerTarget
Run Dialyzer
CAStore.file_path/0 is undefined (module CAStore is not available or is yet to be defined)
Run Dialyzer
use Bitwise is deprecated. import Bitwise instead

Artifacts

Produced during runtime
Name Size Digest
build Expired
4.94 MB
sha256:e21db573942a18cd852906ba8107115537a83ff4f713752fbeca4cbca68b8d4f