Skip to content

Commit

Permalink
[Chore] Remove end to end test from lib and distribution package (#96)
Browse files Browse the repository at this point in the history
* remove e2e from lib and thus from the distribution

* handle e2e exit code
  • Loading branch information
joaquinco authored Sep 5, 2024
1 parent ee6746a commit d22b680
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
11 changes: 0 additions & 11 deletions lib/mix/tasks/end_to_end_test.ex

This file was deleted.

7 changes: 6 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule BoomNotifier.MixProject do
],
aliases: [
quality: ["format", "credo --strict", "dialyzer"],
e2e: ["cmd mix end_to_end_test"]
e2e: &run_e2e/1
],
docs: docs(),
description: description(),
Expand Down Expand Up @@ -96,4 +96,9 @@ defmodule BoomNotifier.MixProject do
]
]
end

defp run_e2e(_) do
exit_status = Mix.shell().cmd("cd test/example_app && mix deps.get && mix test")
exit({:shutdown, exit_status})
end
end

0 comments on commit d22b680

Please sign in to comment.