Skip to content

Commit

Permalink
cleanup test script at start?
Browse files Browse the repository at this point in the history
  • Loading branch information
adamu committed Apr 3, 2024
1 parent 067f8b1 commit 3db8ef7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/support/apps/phx1_7/bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function cleanup() {
patch -i ../../patches/install-route.diff -p 1 -R
}

cleanup
patch -i ../../patches/install-torch.diff -p 1
mix deps.get || { cleanup; echo 'Dependencies could not be fetched!'; exit 1; }
MIX_ENV=test mix ecto.drop || { cleanup; echo 'Database could not be dropped'; exit 1; }
Expand Down

0 comments on commit 3db8ef7

Please sign in to comment.