Skip to content

Add built-in number type #38

Add built-in number type

Add built-in number type #38

Triggered via pull request January 26, 2024 08:49
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
Matrix: Build and test
Fit to window
Zoom out
Zoom in

Annotations

56 errors and 49 warnings
Build and test (1.15.7, 25.3)
Process completed with exit code 1.
Build and test (1.16.0, 26.2)
The job was canceled because "_1_15_7_25_3" failed.
Build and test (1.16.0, 26.2)
Process completed with exit code 1.
Build and test (1.14.5, 25.3): test/contract/types/number_test.exs#L1
** (CompileError) test/contract/types/number_test.exs:1: cannot define module Drops.Contract.Types.IntegerTest because it is currently being defined in test/contract/types/integer_test.exs:1
Build and test (1.14.5, 25.3)
The operation was canceled.
Build and test (1.16.0, 26.1)
The operation was canceled.
Build and test (1.15.7, 26.2): test/contract/maybe_test.exs#L19
test maybe/1 with :string returns error with a non-string value (Drops.MaybeTest)
Build and test (1.15.7, 26.2): test/contract/maybe_test.exs#L75
test maybe/1 with :map when atomized returns error with a non-map value (Drops.MaybeTest)
Build and test (1.15.7, 26.2): test/contract/maybe_test.exs#L42
test maybe/1 with :string and extra predicates returns error with a non-string value (Drops.MaybeTest)
Build and test (1.15.7, 26.2): test/contract/maybe_test.exs#L126
test maybe/1 with a schema returns error with a non-map value (Drops.MaybeTest)
Build and test (1.15.7, 26.2): test/contract/maybe_test.exs#L98
test maybe/1 with :map returns error with a non-map value (Drops.MaybeTest)
Build and test (1.15.7, 26.2): test/contract/maybe_test.exs#L49
test maybe/1 with :string and extra predicates returns error when extra predicates fail (Drops.MaybeTest)
Build and test (1.15.7, 26.2): test/contract/rule_test.exs#L92
test rule/1 with multiple rules defined returns predicate errors and skips rules (Drops.Contract.RuleTest)
Build and test (1.15.7, 26.2): test/contract/types/custom_test.exs#L85
test defining a union type using types returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.15.7, 26.2): test/contract/types/custom_test.exs#L61
test defining a union type using atoms returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.15.7, 26.2): test/contract/types/custom_test.exs#L56
test defining a union type using atoms returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.15.7, 26.1): test/contract/type_test.exs#L78
test type/1 with multiple types and extra predicates for all types returns error from left predicates (Drops.Contract.TypeTest)
Build and test (1.15.7, 26.1): test/contract/type_test.exs#L33
test type/1 with two types returns error with invalid data (Drops.Contract.TypeTest)
Build and test (1.15.7, 26.1): test/contract/type_test.exs#L85
test type/1 with multiple types and extra predicates for all types returns errors from right predicates (Drops.Contract.TypeTest)
Build and test (1.15.7, 26.1): test/contract/type_test.exs#L53
test type/1 with multiple types and extra predicates per type returns error with invalid data (Drops.Contract.TypeTest)
Build and test (1.15.7, 26.1): test/contract/types/number_test.exs#L65
test number/1 with extra predicates returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.15.7, 26.1): test/contract/types/number_test.exs#L31
test number/1 with an extra predicate returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.15.7, 26.1): test/contract/types/number_test.exs#L48
test number/1 with an extra predicate with args returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.15.7, 26.1): test/contract/rule_test.exs#L92
test rule/1 with multiple rules defined returns predicate errors and skips rules (Drops.Contract.RuleTest)
Build and test (1.15.7, 26.1): test/contract/types/custom_test.exs#L56
test defining a union type using atoms returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.15.7, 26.1): test/contract/types/custom_test.exs#L85
test defining a union type using types returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.16.0, 25.3): test/contract/types/custom_test.exs#L85
test defining a union type using types returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.16.0, 25.3): test/contract/types/custom_test.exs#L80
test defining a union type using types returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.16.0, 25.3): test/contract/types/custom_test.exs#L61
test defining a union type using atoms returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.16.0, 25.3): test/contract/types/custom_test.exs#L56
test defining a union type using atoms returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.16.0, 25.3): test/contract/messages_test.exs#L74
test errors/1 returns errors from a union type (Drops.Validator.MessagesTest)
Build and test (1.16.0, 25.3): test/contract/schema_test.exs#L508
test union of list of schemas returns error when both cases didn't pass (Drops.Contract.SchemaTest)
Build and test (1.16.0, 25.3): test/contract/schema_test.exs#L390
test nested union of schemas returns error when both schemas didn't pass (Drops.Contract.SchemaTest)
Build and test (1.16.0, 25.3): test/contract/schema_test.exs#L418
test nested union of schemas when atomized returns error when both schemas didn't pass (Drops.Contract.SchemaTest)
Build and test (1.16.0, 25.3): test/contract/schema_test.exs#L448
test using list shortcut for union types returns error when both schemas didn't pass (Drops.Contract.SchemaTest)
Build and test (1.16.0, 25.3): test/contract/schema_test.exs#L553
test union of list of schemas nested returns error when all cases didn't pass (Drops.Contract.SchemaTest)
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L56
test defining a union type using atoms returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L80
test defining a union type using types returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L61
test defining a union type using atoms returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L85
test defining a union type using types returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.2): test/contract/types/number_test.exs#L31
test number/1 with an extra predicate returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.2): test/contract/types/number_test.exs#L48
test number/1 with an extra predicate with args returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.2): test/contract/types/number_test.exs#L65
test number/1 with extra predicates returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.2): test/contract/types/number_test.exs#L31
test number/1 with an extra predicate returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.2): test/contract/types/number_test.exs#L48
test number/1 with an extra predicate with args returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.2): test/contract/types/number_test.exs#L65
test number/1 with extra predicates returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L85
test defining a union type using types returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L61
test defining a union type using atoms returns errors with invalid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L56
test defining a union type using atoms returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L80
test defining a union type using types returns success with a valid input (Drops.Contract.Types.CustomTest)
Build and test (1.14.5, 26.1): test/contract/types/number_test.exs#L65
test number/1 with extra predicates returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.1): test/contract/types/number_test.exs#L31
test number/1 with an extra predicate returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.1): test/contract/types/number_test.exs#L48
test number/1 with an extra predicate with args returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.1): test/contract/types/number_test.exs#L65
test number/1 with extra predicates returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.1): test/contract/types/number_test.exs#L31
test number/1 with an extra predicate returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.14.5, 26.1): test/contract/types/number_test.exs#L48
test number/1 with an extra predicate with args returns error with invalid data (Drops.Contract.Types.IntegerTest)
Build and test (1.15.7, 25.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.16.0, 26.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.16.0, 26.2)
in order to compile .yrl files, you must add "compilers: [:yecc] ++ Mix.compilers()" to the "def project" section of your mix.exs
Build and test (1.16.0, 26.2)
in order to compile .xrl files, you must add "compilers: [:leex] ++ Mix.compilers()" to the "def project" section of your mix.exs
Build and test (1.14.5, 25.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.16.0, 26.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.16.0, 26.1)
in order to compile .yrl files, you must add "compilers: [:yecc] ++ Mix.compilers()" to the "def project" section of your mix.exs
Build and test (1.16.0, 26.1)
in order to compile .xrl files, you must add "compilers: [:leex] ++ Mix.compilers()" to the "def project" section of your mix.exs
Build and test (1.15.7, 26.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.15.7, 26.2): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.2): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.2): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.2): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.2): test/contract/types/integer_test.exs#L1
redefining module Drops.Contract.Types.IntegerTest (current version defined in memory)
Build and test (1.15.7, 26.2)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.15.7, 26.2)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.15.7, 26.2)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.15.7, 26.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.15.7, 26.1): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.1): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.1): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.1): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.15.7, 26.1): test/contract/types/number_test.exs#L1
redefining module Drops.Contract.Types.IntegerTest (current version defined in memory)
Build and test (1.15.7, 26.1)
redefining module Drops.CastersTest.UserContract (current version defined in memory)
Build and test (1.15.7, 26.1)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.15.7, 26.1)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.15.7, 26.1)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.15.7, 26.1)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.16.0, 25.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.16.0, 25.3)
in order to compile .yrl files, you must add "compilers: [:yecc] ++ Mix.compilers()" to the "def project" section of your mix.exs
Build and test (1.16.0, 25.3)
in order to compile .xrl files, you must add "compilers: [:leex] ++ Mix.compilers()" to the "def project" section of your mix.exs
Build and test (1.14.5, 26.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.14.5, 26.2): test/contract/types/number_test.exs#L1
redefining module Drops.Contract.Types.IntegerTest (current version defined in memory)
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.2): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.2)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.14.5, 26.2)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.14.5, 26.2)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.14.5, 26.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and test (1.14.5, 26.1): test/contract/types/number_test.exs#L1
redefining module Drops.Contract.Types.IntegerTest (current version defined in memory)
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L47
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.1): test/contract/types/custom_test.exs#L71
undefined module attribute @opts, please remove access to @opts or explicitly set it before access
Build and test (1.14.5, 26.1)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.14.5, 26.1)
redefining module Drops.ContractTest.UserContract (current version defined in memory)
Build and test (1.14.5, 26.1)
redefining module Drops.ContractTest.UserContract (current version defined in memory)