Skip to content

Commit

Permalink
test: mix dialyzer on generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamez committed Nov 28, 2024
1 parent 5f82328 commit fb06e5f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/code_generation_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ defmodule Protox.CodeGenerationTest do
)

assert mix_format_exit_status == 0

{_, mix_dialyzer_exit_status} =
System.cmd(
"mix",
[
"dialyzer"
],
cd: code_generation_path
)

assert mix_dialyzer_exit_status == 0
end

defp mix_exs() do
Expand Down

0 comments on commit fb06e5f

Please sign in to comment.