ref:a57f1f5ebdc5ffd934e5801ae78381b7ceb39536

ci: add test coverage reporting to Anvil CI

Add --cover flag to mix test step and set 50% coverage threshold. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA: a57f1f5ebdc5ffd934e5801ae78381b7ceb39536
Author: Cole Christensen <cole.christensen@macmillan.com>
Date: 2026-03-14 06:04
Parents: 5e4a56b
2 files changed +3 -2
Type
.anvil.yml +1 −1
@@ -30,5 +30,5 @@
git config --global user.email "ci@anvil.test"
git config --global user.name "CI"
export MIX_HOME=/workspace/.mix
mix test
mix test --cover
depends_on: [compile]
mix.exs +2 −1
@@ -33,6 +33,7 @@
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_apps: [:mix]
]
],
test_coverage: [summary: [threshold: 50]]
]
end