File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818 - run : mix deps.get
1919 - run : mix format --check-formatted
2020 - run : mix compile --warnings-as-errors
21- - run : mix credo
21+ - run : mix credo --all --strict
2222
2323 test :
2424 name : Test
5353 elixir-version : ${{matrix.elixir}}
5454
5555 - run : mix deps.get --only test
56- - run : mix test --color 2>/tmp/tests.stderr
56+ - name : Run mix test
57+ run : mix test --color 2>/tmp/tests.stderr
5758 - name : Make sure tests do not have warnings
5859 run : " ! grep -v 'warning: ' /tmp/tests.stderr"
5960 if : matrix.warnings_as_errors
Original file line number Diff line number Diff line change @@ -25,4 +25,3 @@ defmodule Norm.Core.AllOf do
2525 end
2626 end
2727end
28-
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ defmodule Norm.ContractTest do
9494 defmodule Reflection do
9595 use Norm
9696
97- def int ( ) , do: spec ( is_integer ( ) )
97+ def int , do: spec ( is_integer ( ) )
9898
9999 @ contract foo ( a :: int ( ) , int ( ) ) :: int ( )
100100 def foo ( a , b ) , do: a + b
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule Norm.Core.DelegateTest do
22 use Norm.Case , async: true
33
44 defmodule TreeTest do
5- def spec ( ) do
5+ def spec do
66 schema ( % {
77 "value" => spec ( is_integer ( ) ) ,
88 "left" => delegate ( & TreeTest . spec / 0 ) ,
You can’t perform that action at this time.
0 commit comments