Skip to content

Commit

Permalink
chore: fix coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaAK committed Feb 1, 2024
1 parent b97b378 commit 1824003
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: mix deps.get

- name: Compile Project
run: mix compile
run: mix compile --warnings-as-errors

- name: Run Coveralls
run: mix coveralls.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/credo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: mix deps.get

- name: Compile Project
run: mix compile
run: mix compile --warnings-as-errors

- name: Run Credo
run: mix credo
2 changes: 1 addition & 1 deletion .github/workflows/dialyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: mix deps.get

- name: Compile Project
run: mix compile
run: mix compile --warnings-as-errors

- name: Run Dialyzer
run: mkdir -p dialyzer && mix dialyzer
Expand Down
13 changes: 9 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@ defmodule Pinecone.MixProject do
deps: deps(),
docs: docs(),
package: package(),

test_coverage: [tool: ExCoveralls],

preferred_cli_env: [
dialyzer: :test
],
elixirc_options: [
warnings_as_errors: true
dialyzer: :test,
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],

dialyzer: [
plt_add_apps: [:ex_unit, :mix, :credo],
list_unused_filters: true,
Expand Down

0 comments on commit 1824003

Please sign in to comment.