Skip to content

Commit 6186620

Browse files
committed
ci: run coverage analysis
1 parent 76b9b8c commit 6186620

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/elixir.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,10 @@ jobs:
7272
run: mix dialyzer --format github
7373
if: ${{ matrix.lint }}
7474

75+
- name: Run tests
76+
run: mix test --cover
77+
if: ${{ matrix.lint }}
78+
7579
- name: Run tests
7680
run: mix test
81+
if: ${{ !matrix.lint }}

mix.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ defmodule TypedStructor.MixProject do
5050
}
5151
],
5252
test_coverage: [
53+
summary: [threshold: 100],
5354
ignore_modules: [
5455
TypedStructor.Definition,
5556
TypedStructor.GuideCase,

0 commit comments

Comments
 (0)