Skip to content

Commit

Permalink
another test for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed May 25, 2017
1 parent 83a3c08 commit 6b76c91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ dependencies:
- cd example && mix deps.compile
test:
override:
- mix ecto.migrate -r PaperTrail.Repo
- mix ecto.migrate -r PaperTrail.UUIDRepo
- mix test
- cd example && mix test
1 change: 0 additions & 1 deletion test/paper_trail/uuid_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ defmodule PaperTrailTest.UUIDTest do
alias PaperTrail.Version
import Ecto.Query


setup do
Application.put_env(:paper_trail, :repo, PaperTrail.UUIDRepo)
Application.put_env(:paper_trail, :originator, [name: :admin, model: Admin])
Expand Down
1 change: 1 addition & 0 deletions test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Mix.Task.run "ecto.create", ~w(-r PaperTrail.Repo)
Mix.Task.run "ecto.migrate", ~w(-r PaperTrail.Repo)
Mix.Task.run "ecto.create", ~w(-r PaperTrail.UUIDRepo)
Mix.Task.run "ecto.migrate", ~w(-r PaperTrail.UUIDRepo)

PaperTrail.Repo.start_link
Expand Down

0 comments on commit 6b76c91

Please sign in to comment.