Skip to content

Commit 17b5c76

Browse files
authored
Merge pull request #136 from san650/fix-preferred-cli-env-deprecation
Fix preferred cli env deprecation and update credo to support elixir v1.19
2 parents 2eefcfd + 78828fa commit 17b5c76

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
- { elixir: 1.16, otp: 24 }
2626
- { elixir: 1.16, otp: 25 }
2727
- { elixir: 1.16, otp: 26 }
28-
- { elixir: "1.18", otp: "27" }
28+
- { elixir: 1.18, otp: 27 }
29+
- { elixir: 1.19, otp: 27 }
2930
env:
3031
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3132

mix.exs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ defmodule PolymorphicEmbed.MixProject do
2828
],
2929

3030
# ExCoveralls
31-
test_coverage: [tool: ExCoveralls],
32-
preferred_cli_env: [
33-
coveralls: :test,
34-
"coveralls.detail": :test,
35-
"coveralls.post": :test,
36-
"coveralls.html": :test,
37-
"coveralls.github": :test
38-
]
31+
test_coverage: [tool: ExCoveralls]
3932
]
4033
end
4134

@@ -45,6 +38,18 @@ defmodule PolymorphicEmbed.MixProject do
4538
]
4639
end
4740

41+
def cli do
42+
[
43+
preferred_envs: [
44+
coveralls: :test,
45+
"coveralls.detail": :test,
46+
"coveralls.post": :test,
47+
"coveralls.html": :test,
48+
"coveralls.github": :test
49+
]
50+
]
51+
end
52+
4853
defp deps do
4954
[
5055
{:ecto, "~> 3.12"},

0 commit comments

Comments
 (0)